mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-09-25 20:19:55 +02:00
Clean test code.
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
function clearModulejs() {
|
||||
|
||||
_.each(modulejs._private.instances, function (val, key) {
|
||||
|
||||
delete modulejs._private.instances[key];
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function mockConfigModule() {
|
||||
|
||||
modulejs.define('config', util.uniqObj());
|
||||
modulejs.define('config', window.util.uniqObj());
|
||||
}
|
||||
|
||||
window.util = window.util || {};
|
||||
|
Reference in New Issue
Block a user