From ef5693f7be9df676a15213b5845c25d0842cd32c Mon Sep 17 00:00:00 2001 From: Oleg Date: Mon, 19 Aug 2013 22:33:52 +0400 Subject: [PATCH] Correct QUnit check, this might fix swarm failures Conflicts: test/jquery.js --- test/jquery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5