Permalink
Browse files

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

…based on.
  • Loading branch information...
1 parent 299da97 commit bd5fc2b5ea2b64330b267ebc3da90c3951b460f7 @slevithan committed Aug 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 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);

0 comments on commit bd5fc2b

Please sign in to comment.