diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-08-19 15:01:00 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-08-19 15:01:41 -0400 |
commit | 04f12635c0ae020bab53f974a3691932a8ac9bbd (patch) | |
tree | 081798ea5b24c20e2572a278360cc83ea4536116 /test | |
parent | f5f36dbd89b6d1083e0379371f6e4f6c098b15b8 (diff) | |
download | jquery-04f12635c0ae020bab53f974a3691932a8ac9bbd.tar.gz jquery-04f12635c0ae020bab53f974a3691932a8ac9bbd.zip |
Fix tests for testswarm
Diffstat (limited to 'test')
-rw-r--r-- | test/jquery.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/jquery.js b/test/jquery.js index faebaaed0..1f59f1511 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 = /^(.*)test\//.exec( parent.location.pathname )[1], - QUnit = QUnit || parent.QUnit, - require = require || parent.require; + src = /^(.*)test\//.exec( window.location.pathname )[1], + QUnit = window.QUnit || parent.QUnit, + require = window.require || parent.require; // Config parameter to force basic code paths QUnit.config.urlConfig.push({ |