mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Ensure mixinPrereqs is called before Backbone is loaded.
This commit is contained in:
@@ -145,12 +145,9 @@
|
|||||||
|
|
||||||
QUnit.config.autostart = false;
|
QUnit.config.autostart = false;
|
||||||
|
|
||||||
require(getConfig(), ['underscore', 'backbone'], function(lodash) {
|
require(getConfig(), ['underscore'], function(lodash) {
|
||||||
mixinPrereqs(lodash);
|
mixinPrereqs(lodash);
|
||||||
|
require(getConfig(), ['backbone'], function() {
|
||||||
if (ui.isModularize) {
|
|
||||||
window._ = lodash;
|
|
||||||
}
|
|
||||||
require(getConfig(), [
|
require(getConfig(), [
|
||||||
'test/setup/dom-setup',
|
'test/setup/dom-setup',
|
||||||
'test/setup/environment',
|
'test/setup/environment',
|
||||||
@@ -165,6 +162,7 @@
|
|||||||
QUnit.start();
|
QUnit.start();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}());
|
}());
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user