1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-14 01:44:06 +02:00

Clean code.

This commit is contained in:
Lars Jung
2015-04-24 02:32:03 +02:00
parent 34525afe56
commit 5e8baf027e
2 changed files with 7 additions and 2 deletions

View File

@@ -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();