aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/dimensions.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-10-16 14:14:09 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-10-16 14:14:37 -0400
commitfd5facf1d1db40149e0221ce8215b56f155b9394 (patch)
tree3b0d5de628a991cea2f4ece1980faffef205afc3 /test/unit/dimensions.js
parentbf145b6f3e953b53408f3fe52f24ccded38e44d3 (diff)
downloadjquery-fd5facf1d1db40149e0221ce8215b56f155b9394.tar.gz
jquery-fd5facf1d1db40149e0221ce8215b56f155b9394.zip
Convert all jQuery.removeData(foo, bar, true) calls to jQuery._remove(foo, bar)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Diffstat (limited to 'test/unit/dimensions.js')
-rw-r--r--test/unit/dimensions.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js
index 2e5c6557d..f0e7974c9 100644
--- a/test/unit/dimensions.js
+++ b/test/unit/dimensions.js
@@ -50,7 +50,7 @@ var testWidth = function( val ) {
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() {
@@ -101,7 +101,7 @@ var testHeight = function( val ) {
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() {
@@ -156,7 +156,7 @@ test("innerWidth()", 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() {
@@ -191,7 +191,7 @@ 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() {
@@ -229,7 +229,7 @@ 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() {
@@ -375,7 +375,7 @@ test("outerHeight()", 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() {