mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 20:14:37 -04:00
Clean test code.
This commit is contained in:
parent
c8bffa006b
commit
cb5c197994
3 changed files with 6 additions and 8 deletions
|
@ -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 || {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue