aboutsummaryrefslogtreecommitdiffstats
path: root/test/jquery.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-08-19 15:01:00 -0400
committerTimmy Willison <timmywillisn@gmail.com>2013-08-19 15:29:23 -0400
commit493548c099b1b0c5413fd7db94346dbe61c028c7 (patch)
tree09c89be012798344b80be35ea3c9afcee5af3888 /test/jquery.js
parent42cd19fb8f29db6fb06f49e5b94829ea7036c3c5 (diff)
downloadjquery-493548c099b1b0c5413fd7db94346dbe61c028c7.tar.gz
jquery-493548c099b1b0c5413fd7db94346dbe61c028c7.zip
Fix tests for testswarm
Diffstat (limited to 'test/jquery.js')
-rw-r--r--test/jquery.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/jquery.js b/test/jquery.js
index d3ebee965..33fa293d9 100644
--- a/test/jquery.js
+++ b/test/jquery.js
@@ -4,10 +4,9 @@
/* jshint eqeqeq: false */
var i, len,
- // Parent is the current window if not an iframe, which is fine
src = window.location.pathname.split( "test" )[ 0 ],
QUnit = window.QUnit || parent.QUnit,
- require = require || parent.require;
+ require = window.require || parent.require;
// Config parameter to force basic code paths
QUnit.config.urlConfig.push({