diff --git a/test/index.html b/test/index.html index 70a207f25..d813aa57f 100644 --- a/test/index.html +++ b/test/index.html @@ -11,8 +11,8 @@ - +
diff --git a/test/test.js b/test/test.js index 9602bf3db..2df29a69f 100644 --- a/test/test.js +++ b/test/test.js @@ -29,13 +29,6 @@ /** The basename of the Lo-Dash file to test */ var basename = /[\w.-]+$/.exec(filePath)[0]; - /** The `platform` object to check */ - var platform = ( - window.platform || - load('../vendor/platform.js/platform.js') || - window.platform - ); - /** The unit testing framework */ var QUnit = (function() { var noop = Function.prototype; @@ -57,6 +50,13 @@ _.runInContext(window) ); + /** The `platform` object to check */ + var platform = ( + window.platform || + load('../vendor/platform.js/platform.js') || + window.platform + ); + /** Used to pass falsey values to methods */ var falsey = [ ,