comment grammar

This commit is contained in:
Jeremy Ashkenas
2010-03-05 15:24:53 -05:00
parent 9903905175
commit 8c6694c242

View File

@@ -45,7 +45,7 @@
nativeIsArray = Array.isArray, nativeIsArray = Array.isArray,
nativeKeys = Object.keys; nativeKeys = Object.keys;
// Create a safe reference to the Underscore object for reference below. // Create a safe reference to the Underscore object for use below.
var _ = function(obj) { return new wrapper(obj); }; var _ = function(obj) { return new wrapper(obj); };
// Export the Underscore object for CommonJS. // Export the Underscore object for CommonJS.
@@ -209,7 +209,7 @@
return result.value; return result.value;
}; };
// Sort the object's values by a criteria produced by an iterator. // Sort the object's values by a criterion produced by an iterator.
_.sortBy = function(obj, iterator, context) { _.sortBy = function(obj, iterator, context) {
return _.pluck(_.map(obj, function(value, index, list) { return _.pluck(_.map(obj, function(value, index, list) {
return { return {