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

@ -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

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