Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fixed syntax highlighting again

Tj Holowaychuk9b7ab196bb92
diff --git a/index.html b/index.html
index 08553a09..778dd260 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');
- };
+ $(function(){
+ $('body').addClass('onload');
+ })
</script>
</head>
<body>