☕️ Classic, reliable, trusted test framework for Node.js and the browser
actually fixed
Tj Holowaychukcdfd33984fea
diff --git a/head.html b/head.htmlindex c86940cc..d7af1bc5 100644--- a/head.html+++ b/head.html@@ -4,10 +4,12 @@<title>Mocha - the fun, simple, flexible JavaScript test framework</title><link rel="stylesheet" href="style.css" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />+ <script src="jquery.js"></script>+ <script src="highlight.js"></script><script>- onload = function(){- document.body.setAttribute('class', 'onload');- };+ setTimeout(function(){+ $('body').addClass('onload');+ }, 0);</script></head><body>diff --git a/index.html b/index.htmlindex 22217f2b..db7a5c41 100644--- a/index.html+++ b/index.html@@ -4,10 +4,12 @@<title>Mocha - the fun, simple, flexible JavaScript test framework</title><link rel="stylesheet" href="style.css" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />+ <script src="jquery.js"></script>+ <script src="highlight.js"></script><script>- onload = function(){- document.body.setAttribute('class', 'onload');- };+ setTimeout(function(){+ $('body').addClass('onload');+ }, 0);</script></head><body>