aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.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/effects.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/effects.js')
-rw-r--r--test/unit/effects.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index a2dbb06b2..814f94ad0 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -1014,7 +1014,7 @@ jQuery.checkState = function() {
});
// manually clean data on modified element
- jQuery.removeData( this, "olddisplay", true );
+ jQuery._removeData( this, "olddisplay" );
start();
};
@@ -1148,7 +1148,7 @@ function( method, defProp ) {
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);
@@ -1498,7 +1498,7 @@ test( "animate should set display for disconnected nodes", function() {
// cleanup
jQuery.each( elems, function() {
- jQuery.removeData( this[ 0 ], "olddisplay", true );
+ jQuery._removeData( this[ 0 ], "olddisplay" );
});
stop();
@@ -1515,7 +1515,7 @@ test( "animate should set display for disconnected nodes", function() {
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();