Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update data naming for Effects. Partial fix for #7810
  • Loading branch information
jzaefferer committed Mar 1, 2012
1 parent 6d20d14 commit 45ca20f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/jquery.effects.core.js
Expand Up @@ -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 ) {
Expand Down Expand Up @@ -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 );
}
Expand Down

0 comments on commit 45ca20f

Please sign in to comment.