From aa49ce5c563e4bb9bfec2c9c62f687228e563d13 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 2 Mar 2013 20:48:42 -0800 Subject: [PATCH] Tweak `platform` placement in test.js and runner. Former-commit-id: a261884dfda6f046431007bef6d9fe109fb1d887 --- test/index.html | 2 +- test/test.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) 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 = [ ,