mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Use lodashStable in more places.
This commit is contained in:
@@ -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';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user