lodash: Sync with Underscore.js commits. [jddalton]

Former-commit-id: 0a92b5c9dcd0ff5c4c712e083fa60556ebb1d96a
This commit is contained in:
John-David Dalton
2012-04-22 18:00:02 -04:00
parent 56b2d76eec
commit 9af078eb3a
5 changed files with 46 additions and 15 deletions

View File

@@ -260,6 +260,9 @@ $(document).ready(function() {
var numbers = [10, 20, 30, 40, 50], num = 35;
var index = _.sortedIndex(numbers, num);
equal(index, 3, '35 should be inserted at index 3');
var index2 = _.sortedIndex(numbers, 30);
equal(index2, 2, '30 should be inserted at index 2');
});
test('collections: shuffle', function() {