mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Fix tests for testswarm
This commit is contained in:
parent
42cd19fb8f
commit
493548c099
3
test/jquery.js
vendored
3
test/jquery.js
vendored
@ -4,10 +4,9 @@
|
|||||||
/* jshint eqeqeq: false */
|
/* jshint eqeqeq: false */
|
||||||
|
|
||||||
var i, len,
|
var i, len,
|
||||||
// Parent is the current window if not an iframe, which is fine
|
|
||||||
src = window.location.pathname.split( "test" )[ 0 ],
|
src = window.location.pathname.split( "test" )[ 0 ],
|
||||||
QUnit = window.QUnit || parent.QUnit,
|
QUnit = window.QUnit || parent.QUnit,
|
||||||
require = require || parent.require;
|
require = window.require || parent.require;
|
||||||
|
|
||||||
// Config parameter to force basic code paths
|
// Config parameter to force basic code paths
|
||||||
QUnit.config.urlConfig.push({
|
QUnit.config.urlConfig.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user