mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Make categories singular.
This commit is contained in:
@@ -279,7 +279,7 @@
|
|||||||
window._ = lodash;
|
window._ = lodash;
|
||||||
}
|
}
|
||||||
if (ui.isModularize) {
|
if (ui.isModularize) {
|
||||||
require(getConfig(), ['lodash/internals/baseEach'], function(baseEach) {
|
require(getConfig(), ['lodash/internal/baseEach'], function(baseEach) {
|
||||||
lodash._baseEach = baseEach['default'] || baseEach;
|
lodash._baseEach = baseEach['default'] || baseEach;
|
||||||
loadTests();
|
loadTests();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -324,7 +324,7 @@
|
|||||||
// expose `baseEach` for better code coverage
|
// expose `baseEach` for better code coverage
|
||||||
if (isModularize && !isNpm) {
|
if (isModularize && !isNpm) {
|
||||||
var path = require('path'),
|
var path = require('path'),
|
||||||
baseEach = require(path.join(path.dirname(filePath), 'internals', 'baseEach.js'));
|
baseEach = require(path.join(path.dirname(filePath), 'internal', 'baseEach.js'));
|
||||||
|
|
||||||
_._baseEach = baseEach.baseEach || baseEach['default'] || baseEach;
|
_._baseEach = baseEach.baseEach || baseEach['default'] || baseEach;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user