// Cleanup
e.removeClass("testD");
- jQuery.removeData( e[ 0 ], "__className__", true );
+ jQuery._removeData( e[ 0 ], "__className__" );
};
test( "toggleClass(String|boolean|undefined[, boolean])", function() {
// Cleanup
e.removeClass("test");
- jQuery.removeData( e[ 0 ], "__className__", true );
+ jQuery._removeData( e[ 0 ], "__className__" );
});
test( "addClass, removeClass, hasClass", function() {
equal( jQuery(window).width(), document.documentElement.clientWidth, "Window width is equal to width reported by window/document." );
- jQuery.removeData($div[0], "olddisplay", true);
+ jQuery._removeData( $div[0], "olddisplay" );
};
test("width()", function() {
equal( jQuery(window).height(), document.documentElement.clientHeight, "Window width is equal to width reported by window/document." );
- jQuery.removeData($div[0], "olddisplay", true);
+ jQuery._removeData( $div[0], "olddisplay" );
};
test("height()", function() {
equal( div.innerWidth(), 0, "Make sure that disconnected nodes are handled." );
div.remove();
- jQuery.removeData($div[0], "olddisplay", true);
+ jQuery._removeData( $div[0], "olddisplay" );
});
test("innerHeight()", function() {
equal( div.innerHeight(), 0, "Make sure that disconnected nodes are handled." );
div.remove();
- jQuery.removeData($div[0], "olddisplay", true);
+ jQuery._removeData( $div[0], "olddisplay" );
});
test("outerWidth()", function() {
equal( div.outerWidth(), 0, "Make sure that disconnected nodes are handled." );
div.remove();
- jQuery.removeData($div[0], "olddisplay", true);
+ jQuery._removeData( $div[0], "olddisplay" );
});
test("child of a hidden elem (or unconnected node) has accurate inner/outer/Width()/Height() see #9441 #9300", function() {
equal( div.outerHeight(), 0, "Make sure that disconnected nodes are handled." );
div.remove();
- jQuery.removeData($div[0], "olddisplay", true);
+ jQuery._removeData( $div[0], "olddisplay" );
});
test("passing undefined is a setter #5571", function() {
});
// manually clean data on modified element
- jQuery.removeData( this, "olddisplay", true );
+ jQuery._removeData( this, "olddisplay" );
start();
};
equal( defProp( $elem ), startVal, "After doing .stop() halfway through show, check that state has been saved for returning to original property value." );
// Remove olddisplay data from .hide() call
- jQuery.removeData( this, "olddisplay", true );
+ jQuery._removeData( this, "olddisplay" );
start();
});
}, animTime / 2);
// cleanup
jQuery.each( elems, function() {
- jQuery.removeData( this[ 0 ], "olddisplay", true );
+ jQuery._removeData( this[ 0 ], "olddisplay" );
});
stop();
var callback = [function () {
strictEqual( this.style.display, "block", "set display to block with " + name );
- jQuery.removeData( this, "olddisplay", true );
+ jQuery._removeData( this, "olddisplay" );
if ( ++i === 14 ) {
start();