aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.scale.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-28 17:36:38 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-28 17:36:38 -0400
commit57d18cd6b7a3d5a6a1b3436481a2fbe1d835eb29 (patch)
treeb7ba23b0af4579e796ca361fc3bfcea54064dcfc /ui/jquery.effects.scale.js
parentc974d0fc69849d9e7854a532da01f00587d04527 (diff)
downloadjquery-ui-57d18cd6b7a3d5a6a1b3436481a2fbe1d835eb29.tar.gz
jquery-ui-57d18cd6b7a3d5a6a1b3436481a2fbe1d835eb29.zip
Removed some unused variables.
Diffstat (limited to 'ui/jquery.effects.scale.js')
-rw-r--r--ui/jquery.effects.scale.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/jquery.effects.scale.js b/ui/jquery.effects.scale.js
index 1eedb44eb..5352bde77 100644
--- a/ui/jquery.effects.scale.js
+++ b/ui/jquery.effects.scale.js
@@ -267,10 +267,7 @@ $.effects.effect.size = function( o, done ) {
$.each([ "top", "left" ], function( idx, pos ) {
el.css( pos, function( _, str ) {
var val = parseInt( str, 10 ),
- toRef = idx ? el.to.left : el.to.top,
- delta = idx ? el.to.outerWidth - el.from.outerWidth: el.to.outerHeight - el.from.outerHeight,
- same = origin[ idx ] === pos,
- mid = origin[ idx ] === "middle" || origin[ idx ] === "center";
+ toRef = idx ? el.to.left : el.to.top;
// if original was "auto", recalculate the new value from wrapper
if ( str === "auto" ) {