mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-12 17:04:01 +02:00
Clean code.
This commit is contained in:
@@ -12,6 +12,6 @@ html
|
||||
|
||||
body
|
||||
div#report
|
||||
a( href='index.html' ) h5ai #{pkg.version} test suite
|
||||
a( href="index.html" ) h5ai #{pkg.version} test suite
|
||||
div#mocha-overlay
|
||||
div#mocha
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user