Removed debug statements from manipulation tests, was causing errors in IE.
authorjeresig <jeresig@gmail.com>
Wed, 2 Dec 2009 20:14:48 +0000 (15:14 -0500)
committerjeresig <jeresig@gmail.com>
Wed, 2 Dec 2009 20:14:48 +0000 (15:14 -0500)
test/unit/manipulation.js

index 494e7f5..ec96c10 100644 (file)
@@ -652,8 +652,6 @@ test("val(Function)", function() {
 var testHtml = function(valueObj) {
        expect(20);
 
-       window.debug = true;
-
        jQuery.scriptorder = 0;
 
        var div = jQuery("#main > div");
@@ -664,8 +662,6 @@ var testHtml = function(valueObj) {
        }
        ok( pass, "Set HTML" );
 
-       delete window.debug;
-
        reset();
        // using contents will get comments regular, text, and comment nodes
        var j = jQuery("#nonnodes").contents();