Add tests for _.toPlainObject.

This commit is contained in:
John-David Dalton
2015-01-15 22:51:39 -08:00
committed by jdalton
parent 03fc317a3f
commit a6dba44561
2 changed files with 139 additions and 77 deletions

View File

@@ -355,8 +355,16 @@
window._ = lodash;
}
if (ui.isModularize) {
require(getConfig(), ['lodash/internal/baseEach'], function(baseEach) {
require(getConfig(), [
'lodash/internal/baseEach',
'lodash/internal/isIndex',
'lodash/internal/isIterateeCall',
'lodash/internal/isLength'
], function(baseEach, isIndex, isIterateeCall, isLength) {
lodash._baseEach = baseEach;
lodash._isIndex = isIndex;
lodash._isIterateeCall = isIterateeCall;
lodash._isLength = isLength;
loadTests();
});
} else {