mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Remove internal isLength test since it's exposed now.
This commit is contained in:
@@ -276,13 +276,11 @@
|
||||
require(getConfig(), [
|
||||
'lodash/internal/baseEach',
|
||||
'lodash/internal/isIndex',
|
||||
'lodash/internal/isIterateeCall',
|
||||
'lodash/internal/isLength'
|
||||
], function(baseEach, isIndex, isIterateeCall, isLength) {
|
||||
'lodash/internal/isIterateeCall'
|
||||
], function(baseEach, isIndex, isIterateeCall) {
|
||||
lodash._baseEach = baseEach;
|
||||
lodash._isIndex = isIndex;
|
||||
lodash._isIterateeCall = isIterateeCall;
|
||||
lodash._isLength = isLength;
|
||||
loadTests();
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -571,7 +571,11 @@
|
||||
basePath = path.dirname(filePath);
|
||||
|
||||
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)),
|
||||
funcName = path.basename(relPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user