| @@ 7409-7432 (lines=24) @@ | ||
| 7406 | hooks.get( this ) : |
|
| 7407 | Tween.propHooks._default.get( this ); |
|
| 7408 | }, |
|
| 7409 | run: function( percent ) { |
|
| 7410 | var eased, |
|
| 7411 | hooks = Tween.propHooks[ this.prop ]; |
|
| 7412 | ||
| 7413 | if ( this.options.duration ) { |
|
| 7414 | this.pos = eased = jQuery.easing[ this.easing ]( |
|
| 7415 | percent, this.options.duration * percent, 0, 1, this.options.duration |
|
| 7416 | ); |
|
| 7417 | } else { |
|
| 7418 | this.pos = eased = percent; |
|
| 7419 | } |
|
| 7420 | this.now = ( this.end - this.start ) * eased + this.start; |
|
| 7421 | ||
| 7422 | if ( this.options.step ) { |
|
| 7423 | this.options.step.call( this.elem, this.now, this ); |
|
| 7424 | } |
|
| 7425 | ||
| 7426 | if ( hooks && hooks.set ) { |
|
| 7427 | hooks.set( this ); |
|
| 7428 | } else { |
|
| 7429 | Tween.propHooks._default.set( this ); |
|
| 7430 | } |
|
| 7431 | return this; |
|
| 7432 | } |
|
| 7433 | }; |
|
| 7434 | ||
| 7435 | Tween.prototype.init.prototype = Tween.prototype; |
|
| @@ 6371-6394 (lines=24) @@ | ||
| 6368 | hooks.get( this ) : |
|
| 6369 | Tween.propHooks._default.get( this ); |
|
| 6370 | }, |
|
| 6371 | run: function( percent ) { |
|
| 6372 | var eased, |
|
| 6373 | hooks = Tween.propHooks[ this.prop ]; |
|
| 6374 | ||
| 6375 | if ( this.options.duration ) { |
|
| 6376 | this.pos = eased = jQuery.easing[ this.easing ]( |
|
| 6377 | percent, this.options.duration * percent, 0, 1, this.options.duration |
|
| 6378 | ); |
|
| 6379 | } else { |
|
| 6380 | this.pos = eased = percent; |
|
| 6381 | } |
|
| 6382 | this.now = ( this.end - this.start ) * eased + this.start; |
|
| 6383 | ||
| 6384 | if ( this.options.step ) { |
|
| 6385 | this.options.step.call( this.elem, this.now, this ); |
|
| 6386 | } |
|
| 6387 | ||
| 6388 | if ( hooks && hooks.set ) { |
|
| 6389 | hooks.set( this ); |
|
| 6390 | } else { |
|
| 6391 | Tween.propHooks._default.set( this ); |
|
| 6392 | } |
|
| 6393 | return this; |
|
| 6394 | } |
|
| 6395 | }; |
|
| 6396 | ||
| 6397 | Tween.prototype.init.prototype = Tween.prototype; |
|
| @@ 6147-6170 (lines=24) @@ | ||
| 6144 | hooks.get( this ) : |
|
| 6145 | Tween.propHooks._default.get( this ); |
|
| 6146 | }, |
|
| 6147 | run: function( percent ) { |
|
| 6148 | var eased, |
|
| 6149 | hooks = Tween.propHooks[ this.prop ]; |
|
| 6150 | ||
| 6151 | if ( this.options.duration ) { |
|
| 6152 | this.pos = eased = jQuery.easing[ this.easing ]( |
|
| 6153 | percent, this.options.duration * percent, 0, 1, this.options.duration |
|
| 6154 | ); |
|
| 6155 | } else { |
|
| 6156 | this.pos = eased = percent; |
|
| 6157 | } |
|
| 6158 | this.now = ( this.end - this.start ) * eased + this.start; |
|
| 6159 | ||
| 6160 | if ( this.options.step ) { |
|
| 6161 | this.options.step.call( this.elem, this.now, this ); |
|
| 6162 | } |
|
| 6163 | ||
| 6164 | if ( hooks && hooks.set ) { |
|
| 6165 | hooks.set( this ); |
|
| 6166 | } else { |
|
| 6167 | Tween.propHooks._default.set( this ); |
|
| 6168 | } |
|
| 6169 | return this; |
|
| 6170 | } |
|
| 6171 | }; |
|
| 6172 | ||
| 6173 | Tween.prototype.init.prototype = Tween.prototype; |
|