Clean code.
This commit is contained in:
parent
34525afe56
commit
5e8baf027e
2 changed files with 7 additions and 2 deletions
|
@ -12,6 +12,6 @@ html
|
||||||
|
|
||||||
body
|
body
|
||||||
div#report
|
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-overlay
|
||||||
div#mocha
|
div#mocha
|
||||||
|
|
|
@ -7,7 +7,12 @@
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
modulejs.define('config', util.uniqObj());
|
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();
|
$('html').removeClass();
|
||||||
util.pinHtml();
|
util.pinHtml();
|
||||||
|
|
Loading…
Add table
Reference in a new issue