Use lodashStable in more places.

This commit is contained in:
John-David Dalton
2016-01-02 13:48:12 -06:00
parent 15ce24db25
commit 2316dff1e0

View File

@@ -1346,7 +1346,7 @@
iteratee = function(value) { count++; return square(value); }, iteratee = function(value) { count++; return square(value); },
lastIndex = LARGE_ARRAY_SIZE - 1; lastIndex = LARGE_ARRAY_SIZE - 1;
_.each([lastIndex, lastIndex + '', LARGE_ARRAY_SIZE, []], function(n, index) { lodashStable.each([lastIndex, lastIndex + '', LARGE_ARRAY_SIZE, []], function(n, index) {
count = 0; count = 0;
var actual = _(array).map(iteratee).at(n).value(), var actual = _(array).map(iteratee).at(n).value(),
expected = index < 2 ? 1 : 0; expected = index < 2 ? 1 : 0;
@@ -20261,7 +20261,7 @@
QUnit.module('toInteger methods'); QUnit.module('toInteger methods');
_.each(['toInteger', 'toSafeInteger'], function(methodName) { lodashStable.each(['toInteger', 'toSafeInteger'], function(methodName) {
var func = _[methodName], var func = _[methodName],
isSafe = methodName == 'toSafeInteger'; isSafe = methodName == 'toSafeInteger';