Comma and whitespace nits. [ci skip]

This commit is contained in:
John-David Dalton
2014-07-24 21:30:19 -07:00
parent e402347d73
commit 5178c3e67f
2 changed files with 5 additions and 5 deletions

View File

@@ -4612,7 +4612,7 @@
}
/**
* Iterates over elements of `collection` returning an array of all elements
* Iterates over elements of `collection`, returning an array of all elements
* the predicate returns truthy for. The predicate is bound to `thisArg` and
* invoked with three arguments; (value, index|key, collection).
*
@@ -4903,7 +4903,7 @@
});
/**
* Invokes the method named by `methodName` on each element in the collection
* Invokes the method named by `methodName` on each element in the collection,
* returning an array of the results of each invoked method. Additional arguments
* is provided to each invoked method. If `methodName` is a function it is
* invoked for, and `this` bound to, each element in the collection.

View File

@@ -387,7 +387,7 @@
setProperty(Number, 'isFinite', _.noop);
var _contains = stringProto.contains;
setProperty(stringProto, 'contains', _contains ? _.noop : Boolean);
setProperty(stringProto, 'contains', _contains ? _.noop : Boolean);
var _ArrayBuffer = ArrayBuffer;
setProperty(root, 'ArrayBuffer', (function() {
@@ -827,7 +827,7 @@
var args = arguments;
test('should return `undefined` for nonexistent keys', 1, function() {
var actual = _.at(['a', 'b', 'c'], [2, 4, 0]);
var actual = _.at(['a', 'b', 'c'], [2, 4, 0]);
deepEqual(actual, ['c', undefined, 'a']);
});
@@ -8438,7 +8438,7 @@
});
test('should return `undefined` for nonexistent keys', 2, function() {
var array = ['a', 'b', 'c'],
var array = ['a', 'b', 'c'],
actual = _.pullAt(array, [2, 4, 0]);
deepEqual(array, ['b']);