| @@ 7697-7732 (lines=36) @@ | ||
| 7694 | } |
|
| 7695 | } |
|
| 7696 | ||
| 7697 | function propFilter( props, specialEasing ) { |
|
| 7698 | var index, name, easing, value, hooks; |
|
| 7699 | ||
| 7700 | // camelCase, specialEasing and expand cssHook pass |
|
| 7701 | for ( index in props ) { |
|
| 7702 | name = jQuery.camelCase( index ); |
|
| 7703 | easing = specialEasing[ name ]; |
|
| 7704 | value = props[ index ]; |
|
| 7705 | if ( jQuery.isArray( value ) ) { |
|
| 7706 | easing = value[ 1 ]; |
|
| 7707 | value = props[ index ] = value[ 0 ]; |
|
| 7708 | } |
|
| 7709 | ||
| 7710 | if ( index !== name ) { |
|
| 7711 | props[ name ] = value; |
|
| 7712 | delete props[ index ]; |
|
| 7713 | } |
|
| 7714 | ||
| 7715 | hooks = jQuery.cssHooks[ name ]; |
|
| 7716 | if ( hooks && "expand" in hooks ) { |
|
| 7717 | value = hooks.expand( value ); |
|
| 7718 | delete props[ name ]; |
|
| 7719 | ||
| 7720 | // not quite $.extend, this wont overwrite keys already present. |
|
| 7721 | // also - reusing 'index' from above because we have the correct "name" |
|
| 7722 | for ( index in value ) { |
|
| 7723 | if ( !( index in props ) ) { |
|
| 7724 | props[ index ] = value[ index ]; |
|
| 7725 | specialEasing[ index ] = easing; |
|
| 7726 | } |
|
| 7727 | } |
|
| 7728 | } else { |
|
| 7729 | specialEasing[ name ] = easing; |
|
| 7730 | } |
|
| 7731 | } |
|
| 7732 | } |
|
| 7733 | ||
| 7734 | function Animation( elem, properties, options ) { |
|
| 7735 | var result, |
|
| @@ 6650-6685 (lines=36) @@ | ||
| 6647 | } |
|
| 6648 | } |
|
| 6649 | ||
| 6650 | function propFilter( props, specialEasing ) { |
|
| 6651 | var index, name, easing, value, hooks; |
|
| 6652 | ||
| 6653 | // camelCase, specialEasing and expand cssHook pass |
|
| 6654 | for ( index in props ) { |
|
| 6655 | name = jQuery.camelCase( index ); |
|
| 6656 | easing = specialEasing[ name ]; |
|
| 6657 | value = props[ index ]; |
|
| 6658 | if ( jQuery.isArray( value ) ) { |
|
| 6659 | easing = value[ 1 ]; |
|
| 6660 | value = props[ index ] = value[ 0 ]; |
|
| 6661 | } |
|
| 6662 | ||
| 6663 | if ( index !== name ) { |
|
| 6664 | props[ name ] = value; |
|
| 6665 | delete props[ index ]; |
|
| 6666 | } |
|
| 6667 | ||
| 6668 | hooks = jQuery.cssHooks[ name ]; |
|
| 6669 | if ( hooks && "expand" in hooks ) { |
|
| 6670 | value = hooks.expand( value ); |
|
| 6671 | delete props[ name ]; |
|
| 6672 | ||
| 6673 | // Not quite $.extend, this won't overwrite existing keys. |
|
| 6674 | // Reusing 'index' because we have the correct "name" |
|
| 6675 | for ( index in value ) { |
|
| 6676 | if ( !( index in props ) ) { |
|
| 6677 | props[ index ] = value[ index ]; |
|
| 6678 | specialEasing[ index ] = easing; |
|
| 6679 | } |
|
| 6680 | } |
|
| 6681 | } else { |
|
| 6682 | specialEasing[ name ] = easing; |
|
| 6683 | } |
|
| 6684 | } |
|
| 6685 | } |
|
| 6686 | ||
| 6687 | function Animation( elem, properties, options ) { |
|
| 6688 | var result, |
|
| @@ 6469-6504 (lines=36) @@ | ||
| 6466 | } |
|
| 6467 | } |
|
| 6468 | ||
| 6469 | function propFilter( props, specialEasing ) { |
|
| 6470 | var index, name, easing, value, hooks; |
|
| 6471 | ||
| 6472 | // camelCase, specialEasing and expand cssHook pass |
|
| 6473 | for ( index in props ) { |
|
| 6474 | name = jQuery.camelCase( index ); |
|
| 6475 | easing = specialEasing[ name ]; |
|
| 6476 | value = props[ index ]; |
|
| 6477 | if ( jQuery.isArray( value ) ) { |
|
| 6478 | easing = value[ 1 ]; |
|
| 6479 | value = props[ index ] = value[ 0 ]; |
|
| 6480 | } |
|
| 6481 | ||
| 6482 | if ( index !== name ) { |
|
| 6483 | props[ name ] = value; |
|
| 6484 | delete props[ index ]; |
|
| 6485 | } |
|
| 6486 | ||
| 6487 | hooks = jQuery.cssHooks[ name ]; |
|
| 6488 | if ( hooks && "expand" in hooks ) { |
|
| 6489 | value = hooks.expand( value ); |
|
| 6490 | delete props[ name ]; |
|
| 6491 | ||
| 6492 | // not quite $.extend, this wont overwrite keys already present. |
|
| 6493 | // also - reusing 'index' from above because we have the correct "name" |
|
| 6494 | for ( index in value ) { |
|
| 6495 | if ( !( index in props ) ) { |
|
| 6496 | props[ index ] = value[ index ]; |
|
| 6497 | specialEasing[ index ] = easing; |
|
| 6498 | } |
|
| 6499 | } |
|
| 6500 | } else { |
|
| 6501 | specialEasing[ name ] = easing; |
|
| 6502 | } |
|
| 6503 | } |
|
| 6504 | } |
|
| 6505 | ||
| 6506 | function Animation( elem, properties, options ) { |
|
| 6507 | var result, |
|