mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Use curl's js! plugin to load test.js since it doesn't have a define in the file.
(cherry picked from commit 078d78a70e664bb92d129791d99b97f48c6ccafc) Former-commit-id: b684cc6ffad049f32c0f6f9f16511f3242c913a2
This commit is contained in:
committed by
John-David Dalton
parent
b87fec554f
commit
ec12f7a5e7
@@ -96,7 +96,13 @@
|
||||
lodashModule = lodash.noConflict();
|
||||
lodashModule.moduleName = 'lodash';
|
||||
}
|
||||
require(['test.js'], function() {
|
||||
|
||||
var testPath = (window.curl
|
||||
? ui.loaderPath.replace(/[\w.-]+$/, 'curl/plugin/js!')
|
||||
: ''
|
||||
) + 'test.js';
|
||||
|
||||
require([testPath], function() {
|
||||
QUnit.start();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user