mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Remove internal isLength test since it's exposed now.
This commit is contained in:
@@ -276,13 +276,11 @@
|
|||||||
require(getConfig(), [
|
require(getConfig(), [
|
||||||
'lodash/internal/baseEach',
|
'lodash/internal/baseEach',
|
||||||
'lodash/internal/isIndex',
|
'lodash/internal/isIndex',
|
||||||
'lodash/internal/isIterateeCall',
|
'lodash/internal/isIterateeCall'
|
||||||
'lodash/internal/isLength'
|
], function(baseEach, isIndex, isIterateeCall) {
|
||||||
], function(baseEach, isIndex, isIterateeCall, isLength) {
|
|
||||||
lodash._baseEach = baseEach;
|
lodash._baseEach = baseEach;
|
||||||
lodash._isIndex = isIndex;
|
lodash._isIndex = isIndex;
|
||||||
lodash._isIterateeCall = isIterateeCall;
|
lodash._isIterateeCall = isIterateeCall;
|
||||||
lodash._isLength = isLength;
|
|
||||||
loadTests();
|
loadTests();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -571,7 +571,11 @@
|
|||||||
basePath = path.dirname(filePath);
|
basePath = path.dirname(filePath);
|
||||||
|
|
||||||
if (isModularize && !(amd || isNpm)) {
|
if (isModularize && !(amd || isNpm)) {
|
||||||
lodashStable.each(['internal/baseEach', 'internal/isIndex', 'internal/isIterateeCall'], function(relPath) {
|
lodashStable.each([
|
||||||
|
'internal/baseEach',
|
||||||
|
'internal/isIndex',
|
||||||
|
'internal/isIterateeCall'
|
||||||
|
], function(relPath) {
|
||||||
var func = require(path.join(basePath, relPath)),
|
var func = require(path.join(basePath, relPath)),
|
||||||
funcName = path.basename(relPath);
|
funcName = path.basename(relPath);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user