$.effects.createPlaceholder( element );
- distance = options.distance || element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;
+ distance = options.distance ||
+ element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;
animation[ ref ] = motion + distance;
//>>label: Scale Effect
//>>group: Effects
-//>>description: Grows or shrinks an element and its content. Restores an element to its original size.
+//>>description: Grows or shrinks an element and its content.
//>>docs: http://api.jqueryui.com/scale-effect/
//>>demos: http://jqueryui.com/effect/
// Shakes
for ( ; i < times; i++ ) {
- element.animate( animation1, speed, options.easing ).animate( animation2, speed, options.easing );
+ element
+ .animate( animation1, speed, options.easing )
+ .animate( animation2, speed, options.easing );
}
element
direction = options.direction || "left",
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
positiveMotion = ( direction === "up" || direction === "left" ),
- distance = options.distance || element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ),
+ distance = options.distance ||
+ element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ),
animation = {};
$.effects.createPlaceholder( element );