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
|
||||
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();
|
||||
|
|
Loading…
Add table
Reference in a new issue