aboutsummaryrefslogtreecommitdiffstats
path: root/test/jquery.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-08-19 22:33:52 +0400
committerTimmy Willison <timmywillisn@gmail.com>2013-08-19 15:39:37 -0400
commitef5693f7be9df676a15213b5845c25d0842cd32c (patch)
tree383cb3b0faad187162bbc19f4c63ff9bce2d0cfa /test/jquery.js
parent04f12635c0ae020bab53f974a3691932a8ac9bbd (diff)
downloadjquery-ef5693f7be9df676a15213b5845c25d0842cd32c.tar.gz
jquery-ef5693f7be9df676a15213b5845c25d0842cd32c.zip
Correct QUnit check, this might fix swarm failures
Conflicts: test/jquery.js
Diffstat (limited to 'test/jquery.js')
-rw-r--r--test/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/jquery.js b/test/jquery.js
index 1f59f1511..33fa293d9 100644
--- a/test/jquery.js
+++ b/test/jquery.js
@@ -4,7 +4,7 @@
/* jshint eqeqeq: false */
var i, len,
- src = /^(.*)test\//.exec( window.location.pathname )[1],
+ src = window.location.pathname.split( "test" )[ 0 ],
QUnit = window.QUnit || parent.QUnit,
require = window.require || parent.require;