mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Fix module paths.
This commit is contained in:
16
test/test.js
16
test/test.js
@@ -685,15 +685,15 @@
|
|||||||
|
|
||||||
if (coverage || (isModularize && !(amd || isNpm))) {
|
if (coverage || (isModularize && !(amd || isNpm))) {
|
||||||
lodashStable.each([
|
lodashStable.each([
|
||||||
'_baseEach',
|
'baseEach',
|
||||||
'_Hash',
|
'Hash',
|
||||||
'_isIndex',
|
'isIndex',
|
||||||
'_isIterateeCall',
|
'isIterateeCall',
|
||||||
'_ListCache',
|
'ListCache',
|
||||||
'_MapCache',
|
'MapCache',
|
||||||
'_Stack'
|
'Stack'
|
||||||
], function(funcName) {
|
], function(funcName) {
|
||||||
var func = require(path.join(basePath, funcName));
|
var func = require(path.join(basePath, '_' + funcName));
|
||||||
_['_' + funcName] = func[funcName] || func['default'] || func;
|
_['_' + funcName] = func[funcName] || func['default'] || func;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user