diff options
author | gnarf <gnarf@gnarf.net> | 2011-03-05 16:17:54 -0600 |
---|---|---|
committer | gnarf <gnarf@gnarf.net> | 2011-03-05 16:17:54 -0600 |
commit | d742cd6a887ea81c58359f8083930ee141c0bade (patch) | |
tree | fe43d427c3e932f2e5c5324e018a4b4d9013ee4d /ui/jquery.effects.transfer.js | |
parent | 2fdc868707d67f9e9df54698395c300d63d75720 (diff) | |
download | jquery-ui-d742cd6a887ea81c58359f8083930ee141c0bade.tar.gz jquery-ui-d742cd6a887ea81c58359f8083930ee141c0bade.zip |
Effects: Minor whitespace improvements
Diffstat (limited to 'ui/jquery.effects.transfer.js')
-rw-r--r-- | ui/jquery.effects.transfer.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/jquery.effects.transfer.js b/ui/jquery.effects.transfer.js index 9765d4944..b57ac51b9 100644 --- a/ui/jquery.effects.transfer.js +++ b/ui/jquery.effects.transfer.js @@ -14,8 +14,8 @@ $.effects.transfer = function(o) { return this.queue(function() { - var elem = $(this), - target = $(o.to), + var elem = $( this ), + target = $( o.to ), endPosition = target.offset(), animation = { top: endPosition.top, @@ -24,9 +24,9 @@ $.effects.transfer = function(o) { width: target.innerWidth() }, startPosition = elem.offset(), - transfer = $('<div class="ui-effects-transfer"></div>') - .appendTo(document.body) - .addClass(o.className) + transfer = $( '<div class="ui-effects-transfer"></div>' ) + .appendTo( document.body ) + .addClass( o.className ) .css({ top: startPosition.top, left: startPosition.left, @@ -34,7 +34,7 @@ $.effects.transfer = function(o) { width: elem.innerWidth(), position: 'absolute' }) - .animate(animation, o.duration, o.easing, function() { + .animate( animation, o.duration, o.easing, function() { transfer.remove(); (o.complete && o.complete.apply(elem[0], arguments)); elem.dequeue(); |