Skip to content
Permalink
Browse files

Effects: Minor whitespace improvements

  • Loading branch information
gnarf committed Mar 5, 2011
1 parent 2fdc868 commit d742cd6a887ea81c58359f8083930ee141c0bade
Showing with 7 additions and 7 deletions.
  1. +0 −1 ui/jquery.effects.core.js
  2. +1 −0 ui/jquery.effects.highlight.js
  3. +6 −6 ui/jquery.effects.transfer.js
@@ -487,7 +487,6 @@ $.fn.extend({
});
}
}

return effectMethod.call(this, args);
},

@@ -26,6 +26,7 @@ $.effects.highlight = function(o) {
}

$.effects.save(elem, props);

elem
.show()
.css({
@@ -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,17 +24,17 @@ $.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,
height: elem.innerHeight(),
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();

0 comments on commit d742cd6

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