aboutsummaryrefslogtreecommitdiffstats
path: root/ui/effects
diff options
context:
space:
mode:
Diffstat (limited to 'ui/effects')
-rw-r--r--ui/effects/effect-drop.js3
-rw-r--r--ui/effects/effect-scale.js2
-rw-r--r--ui/effects/effect-shake.js4
-rw-r--r--ui/effects/effect-slide.js3
4 files changed, 8 insertions, 4 deletions
diff --git a/ui/effects/effect-drop.js b/ui/effects/effect-drop.js
index 059fd54ca..c7e3d7a6e 100644
--- a/ui/effects/effect-drop.js
+++ b/ui/effects/effect-drop.js
@@ -45,7 +45,8 @@ return $.effects.define( "drop", "hide", function( options, done ) {
$.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;
diff --git a/ui/effects/effect-scale.js b/ui/effects/effect-scale.js
index 9e254b27e..9379f88c7 100644
--- a/ui/effects/effect-scale.js
+++ b/ui/effects/effect-scale.js
@@ -9,7 +9,7 @@
//>>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/
diff --git a/ui/effects/effect-shake.js b/ui/effects/effect-shake.js
index ada249aec..596aa12ae 100644
--- a/ui/effects/effect-shake.js
+++ b/ui/effects/effect-shake.js
@@ -58,7 +58,9 @@ return $.effects.define( "shake", function( options, done ) {
// 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
diff --git a/ui/effects/effect-slide.js b/ui/effects/effect-slide.js
index 12e8c9ca8..3ba7a2edc 100644
--- a/ui/effects/effect-slide.js
+++ b/ui/effects/effect-slide.js
@@ -42,7 +42,8 @@ return $.effects.define( "slide", "show", function( options, done ) {
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 );