mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Update data naming for Effects. Partial fix for #7810
This commit is contained in:
parent
6d20d1463b
commit
45ca20fa33
4
ui/jquery.effects.core.js
vendored
4
ui/jquery.effects.core.js
vendored
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user