diff --git a/perf/index.html b/perf/index.html index be070ef10..b5cd14fbe 100644 --- a/perf/index.html +++ b/perf/index.html @@ -1,82 +1,82 @@ - - - lodash Performance Suite - - - -
- - - - - - - - - - + + + + + + + + + - + // is the applet permitted? + if (!/[?&]nojava=true(?:&|$)/.test(location.search)) { + // is the applet really needed? + while (!(measured = new Date - begin)) {} + if (measured > 1 && !((perfNow = window.performance) && typeof (perfNow.now || perfNow.webkitNow) == 'function')) { + // load applet + document.write(''); + } + } + window.onload = init; + }()); + + diff --git a/test/backbone.html b/test/backbone.html index ff0179e52..b01da499e 100644 --- a/test/backbone.html +++ b/test/backbone.html @@ -1,133 +1,133 @@ - - - Backbone Test Suite - - - - - - - - - - - + + + + + + + - + - + if (ui.isModularize) { + window._ = lodash; + } + require(getConfig(), [ + 'test/setup/dom-setup', + 'test/setup/environment', + 'test/noconflict', + 'test/events', + 'test/model', + 'test/collection', + 'test/router', + 'test/view', + 'test/sync' + ], function() { + QUnit.start(); + }); + }); + }()); + + diff --git a/test/index.html b/test/index.html index 7d52d3249..05ec94291 100644 --- a/test/index.html +++ b/test/index.html @@ -1,319 +1,319 @@ - - - lodash Test Suite - - - - - - - - - - - -
-
- + + + + + + +
+
+ - - + + - + // Set a more readable browser name. + window.onload = function() { + var timeoutId = setInterval(function() { + var ua = document.getElementById('qunit-userAgent'); + if (ua) { + ua.innerHTML = platform; + clearInterval(timeoutId); + } + }, 16); + }; + + diff --git a/test/underscore.html b/test/underscore.html index 07f599a2c..53839884a 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -1,242 +1,242 @@ - - - Underscore Test Suite - - - -
- - - - - - - + + + + + + - + - + require(getConfig(), [moduleId], function(lodash) { + if (ui.isModularize) { + window._ = lodash; + } + require(getConfig(), [ + 'test/collections', + 'test/arrays', + 'test/functions', + 'test/objects', + 'test/cross-document', + 'test/utility', + 'test/chaining' + ], function() { + QUnit.start(); + }); + }); + }()); + +