Commit 42cd19fb authored by Oleg's avatar Oleg

Correct QUnit check, this might fix swarm failures

parent f92a446e
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
var i, len, var i, len,
// Parent is the current window if not an iframe, which is fine // Parent is the current window if not an iframe, which is fine
src = /^(.*)test\//.exec( parent.location.pathname )[1], src = window.location.pathname.split( "test" )[ 0 ],
QUnit = QUnit || parent.QUnit, QUnit = window.QUnit || parent.QUnit,
require = require || parent.require; require = require || parent.require;
// Config parameter to force basic code paths // Config parameter to force basic code paths
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment