Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add credit in perf.js for Lo-Dash perf tests, which the init code is …

…based on.
  • Loading branch information...
commit bd5fc2b5ea2b64330b267ebc3da90c3951b460f7 1 parent 299da97
@slevithan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/perf/index.html
View
3  tests/perf/index.html
@@ -30,7 +30,9 @@
<script src="lib/benchmark.js"></script>
<script src="perf.js"></script>
+
<script>
+ // Initialization code adapted from Lo-Dash <http://lodash.com/> performance tests...
(function() {
if (/[?&]nojava=true(?:&|$)/.test(location.search)) {
return;
@@ -47,7 +49,6 @@
document.write('<applet code="nano" archive="lib/nano.jar"></applet>');
}
}());
-
onload = function() {
// Give the applet time to initialize
setTimeout(run, 15);
Please sign in to comment.
Something went wrong with that request. Please try again.