return function(_) {
lodash.defaultsDeep(_, { 'templateSettings': lodash.templateSettings });
- lodash.mixin(_, lodash.pick(lodash, lodash.difference(lodash.functions(lodash), lodash.functions(_))));
+ lodash.mixin(_, lodash.pick(lodash, lodash.difference([
+ 'countBy',
+ 'debounce',
+ 'difference',
+ 'find',
+ 'findIndex',
+ 'findLastIndex',
+ 'groupBy',
+ 'includes',
+ 'invert',
+ 'invokeMap',
+ 'keyBy',
+ 'omit',
+ 'partition',
+ 'reduceRight',
+ 'reject',
+ 'sample',
+ 'without'
+ ], lodash.functions(_))));
lodash.forOwn(keyMap, function(realName, otherName) {
_[otherName] = lodash[realName];
QUnit.config.autostart = false;
- require(getConfig(), ['underscore', 'backbone'], function(lodash) {
+ require(getConfig(), ['underscore'], function(lodash) {
mixinPrereqs(lodash);
-
- if (ui.isModularize) {
- window._ = lodash;
- }
- require(getConfig(), [
- 'test/setup/dom-setup',
- 'test/setup/environment',
- 'test/noconflict',
- 'test/events',
- 'test/model',
- 'test/collection',
- 'test/router',
- 'test/view',
- 'test/sync'
- ], function() {
- QUnit.start();
+ require(getConfig(), ['backbone'], function() {
+ require(getConfig(), [
+ 'test/setup/dom-setup',
+ 'test/setup/environment',
+ 'test/noconflict',
+ 'test/events',
+ 'test/model',
+ 'test/collection',
+ 'test/router',
+ 'test/view',
+ 'test/sync'
+ ], function() {
+ QUnit.start();
+ });
});
});
}());