Skip to content
Permalink
Browse files

Strip off filename and query string for JSONP Remote test.

  • Loading branch information
jeresig authored and wycats committed Mar 23, 2010
1 parent f502d11 commit 31cfe62ed4884f0f7eff399375bf6e748738ef71
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();

0 comments on commit 31cfe62

Please sign in to comment.
You can’t perform that action at this time.