Skip to content
Permalink
Browse files

Update data naming for Effects. Partial fix for #7810

  • Loading branch information...
jzaefferer committed Mar 1, 2012
1 parent 6d20d14 commit 45ca20fa33204e2304295f2fb194f59c821b1512
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 );
}

1 comment on commit 45ca20f

@gnarf

This comment has been minimized.

Copy link
Member

commented on 45ca20f Mar 1, 2012

I always wanted to change this... ;)

Please sign in to comment.
You can’t perform that action at this time.