git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f502d11
)
Strip off filename and query string for JSONP Remote test.
author
jeresig
<jeresig@gmail.com>
Tue, 23 Mar 2010 20:22:09 +0000
(16:22 -0400)
committer
wycats
<wycats@gmail.com>
Sun, 20 Jun 2010 05:29:47 +0000
(22:29 -0700)
test/unit/ajax.js
patch
|
blob
|
history
diff --git
a/test/unit/ajax.js
b/test/unit/ajax.js
index
ce257f8
..
135e054
100644
(file)
--- a/
test/unit/ajax.js
+++ b/
test/unit/ajax.js
@@
-774,7
+774,7
@@
test("jQuery.ajax() - JSONP, Remote", function() {
var count = 0;
function plus(){ if ( ++count == 4 ) start(); }
- var base = window.location.href.replace(/\?.*$/, "");
+ var base = window.location.href.replace(/[^\/]*$/, "");
stop();