aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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({