Skip to content
Permalink
Browse files

remove globals in tests for compability with ?noglobals, to be enable…

…d by default
  • Loading branch information
jzaefferer committed Sep 15, 2009
1 parent 0b36b26 commit f55fb36e54eb82b112fa7af2c9b2c28c3a1c38cf
Showing with 5 additions and 2 deletions.
  1. +4 −1 test/unit/ajax.js
  2. +1 −1 test/unit/manipulation.js
@@ -763,7 +763,10 @@ test("jQuery.getJSON - Using Native JSON", function() {

stop();
jQuery.getJSON(url("data/json.php"), function(json) {
window.JSON = old;
if (!old)
delete window.JSON
else
window.JSON = old;
equals( json, true, "Verifying return value" );
start();
});
@@ -626,7 +626,7 @@ var testHtml = function(valueObj) {
}
ok( pass, "Set HTML" );

window.debug = false;
delete window.debug;

reset();
// using contents will get comments regular, text, and comment nodes

0 comments on commit f55fb36

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