Strip off filename and query string for JSONP Remote test.

This commit is contained in:
jeresig 2010-03-23 16:22:09 -04:00 committed by wycats
parent f502d118d1
commit 31cfe62ed4

View file

@ -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();