Effects: Minor whitespace improvements

This commit is contained in:
gnarf
2011-03-05 16:17:54 -06:00
parent 2fdc868707
commit d742cd6a88
3 changed files with 7 additions and 7 deletions

View File

@@ -487,7 +487,6 @@ $.fn.extend({
});
}
}
return effectMethod.call(this, args);
},

View File

@@ -26,6 +26,7 @@ $.effects.highlight = function(o) {
}
$.effects.save(elem, props);
elem
.show()
.css({

View File

@@ -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();