From: Jörn Zaefferer Date: Thu, 1 Mar 2012 12:42:42 +0000 (+0100) Subject: Update data naming for Effects. Partial fix for #7810 X-Git-Tag: 1.9m7~22^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=45ca20fa33204e2304295f2fb194f59c821b1512;p=jquery-ui.git Update data naming for Effects. Partial fix for #7810 --- diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index b28e4c4ee..bc69c9477 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -159,7 +159,7 @@ var classAnimationActions = [ "add", "remove", "toggle" ], padding: 1 }, // prefix used for storing data on .data() - dataSpace = "ec.storage."; + dataSpace = "ui-effects-"; $.each([ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle" ], function( _, prop ) { $.fx.step[ prop ] = function( fx ) { @@ -689,7 +689,7 @@ $.extend( baseEasings, { Bounce: function ( p ) { var pow2, bounce = 4; - + while ( p < ( ( pow2 = Math.pow( 2, --bounce ) ) - 1 ) / 11 ) {} return 1 / Math.pow( 4, 3 - bounce ) - 7.5625 * Math.pow( ( pow2 * 3 - 2 ) / 22 - p, 2 ); }