Update data naming for Effects. Partial fix for #7810

This commit is contained in:
Jörn Zaefferer 2012-03-01 13:42:42 +01:00
parent 6d20d1463b
commit 45ca20fa33

View File

@ -159,7 +159,7 @@ var classAnimationActions = [ "add", "remove", "toggle" ],
padding: 1 padding: 1
}, },
// prefix used for storing data on .data() // prefix used for storing data on .data()
dataSpace = "ec.storage."; dataSpace = "ui-effects-";
$.each([ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle" ], function( _, prop ) { $.each([ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle" ], function( _, prop ) {
$.fx.step[ prop ] = function( fx ) { $.fx.step[ prop ] = function( fx ) {
@ -689,7 +689,7 @@ $.extend( baseEasings, {
Bounce: function ( p ) { Bounce: function ( p ) {
var pow2, var pow2,
bounce = 4; bounce = 4;
while ( p < ( ( pow2 = Math.pow( 2, --bounce ) ) - 1 ) / 11 ) {} 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 ); return 1 / Math.pow( 4, 3 - bounce ) - 7.5625 * Math.pow( ( pow2 * 3 - 2 ) / 22 - p, 2 );
} }