Skip to content
Permalink
Browse files

Strip off filename and query string for JSONP Remote test.

  • Loading branch information
jeresig committed Mar 23, 2010
1 parent 2301e2a commit 0fbac16dbe77b6bf846b43d3ef3bd75c374e2628
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 0fbac16

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