mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Correct QUnit check, this might fix swarm failures
This commit is contained in:
parent
f92a446ee8
commit
42cd19fb8f
4
test/jquery.js
vendored
4
test/jquery.js
vendored
@ -5,8 +5,8 @@
|
||||
|
||||
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,
|
||||
src = window.location.pathname.split( "test" )[ 0 ],
|
||||
QUnit = window.QUnit || parent.QUnit,
|
||||
require = require || parent.require;
|
||||
|
||||
// Config parameter to force basic code paths
|
||||
|
Loading…
Reference in New Issue
Block a user