mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Effects: Minor whitespace improvements
This commit is contained in:
1
ui/jquery.effects.core.js
vendored
1
ui/jquery.effects.core.js
vendored
@@ -487,7 +487,6 @@ $.fn.extend({
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return effectMethod.call(this, args);
|
||||
},
|
||||
|
||||
|
||||
1
ui/jquery.effects.highlight.js
vendored
1
ui/jquery.effects.highlight.js
vendored
@@ -26,6 +26,7 @@ $.effects.highlight = function(o) {
|
||||
}
|
||||
|
||||
$.effects.save(elem, props);
|
||||
|
||||
elem
|
||||
.show()
|
||||
.css({
|
||||
|
||||
12
ui/jquery.effects.transfer.js
vendored
12
ui/jquery.effects.transfer.js
vendored
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user