mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 12:07:10 -04:00
Clean code.
This commit is contained in:
parent
34525afe56
commit
5e8baf027e
2 changed files with 7 additions and 2 deletions
|
@ -7,7 +7,12 @@
|
|||
$(function () {
|
||||
|
||||
modulejs.define('config', util.uniqObj());
|
||||
modulejs._private.instances = {};
|
||||
var insts = modulejs._private.instances;
|
||||
for (var member in insts) {
|
||||
if (insts.hasOwnProperty(member)) {
|
||||
delete insts[member];
|
||||
}
|
||||
}
|
||||
|
||||
$('html').removeClass();
|
||||
util.pinHtml();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue