Changeset 2129
- Timestamp:
- 06/21/07 02:38:16 (1 year ago)
- Files:
-
- 1 modified
-
trunk/jquery/src/fx/fx.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/fx/fx.js
r1955 r2129 308 308 animate: function( prop, speed, easing, callback ) { 309 309 return this.queue(function(){ 310 var hidden = jQuery(this).is(":hidden"); 310 var hidden = jQuery(this).is(":hidden"), 311 opt = jQuery.speed(speed, easing, callback), 312 self = this; 311 313 312 314 for ( var p in prop ) 313 if ( prop[p] == "hide" && hidden || 314 prop[p] == "show" && !hidden ) 315 return; 315 if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden ) 316 return jQuery.isFunction(opt.complete) && opt.complete.apply(this); 316 317 317 318 this.curAnim = jQuery.extend({}, prop); 318 var opt = jQuery.speed(speed, easing, callback);319 var self = this;320 319 321 320 jQuery.each( prop, function(name, val){
