Skip to content

Commit

Permalink
Fix cleaning up JSONP callbacks in tests
Browse files Browse the repository at this point in the history
Follow-up to 4e60179
  • Loading branch information
mislav committed Jul 13, 2016
1 parent 2bdf804 commit e554aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ajax_deferred.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h1>Zepto Ajax deferred</h1>
$.active = 0

for (var key in window)
if (/^jsonp\d+$/.test(key) && window[key] === undefined)
if (/^Zepto\d+$/.test(key) && window[key] === undefined)
delete window[key]
},

Expand Down

0 comments on commit e554aec

Please sign in to comment.