( props, specialEasing )
| 9468 | } |
| 9469 | |
| 9470 | function propFilter( props, specialEasing ) { |
| 9471 | var index, name, easing, value, hooks; |
| 9472 | |
| 9473 | // camelCase, specialEasing and expand cssHook pass |
| 9474 | for ( index in props ) { |
| 9475 | name = jQuery.camelCase( index ); |
| 9476 | easing = specialEasing[ name ]; |
| 9477 | value = props[ index ]; |
| 9478 | if ( jQuery.isArray( value ) ) { |
| 9479 | easing = value[ 1 ]; |
| 9480 | value = props[ index ] = value[ 0 ]; |
| 9481 | } |
| 9482 | |
| 9483 | if ( index !== name ) { |
| 9484 | props[ name ] = value; |
| 9485 | delete props[ index ]; |
| 9486 | } |
| 9487 | |
| 9488 | hooks = jQuery.cssHooks[ name ]; |
| 9489 | if ( hooks && "expand" in hooks ) { |
| 9490 | value = hooks.expand( value ); |
| 9491 | delete props[ name ]; |
| 9492 | |
| 9493 | // not quite $.extend, this wont overwrite keys already present. |
| 9494 | // also - reusing 'index' from above because we have the correct "name" |
| 9495 | for ( index in value ) { |
| 9496 | if ( !( index in props ) ) { |
| 9497 | props[ index ] = value[ index ]; |
| 9498 | specialEasing[ index ] = easing; |
| 9499 | } |
| 9500 | } |
| 9501 | } else { |
| 9502 | specialEasing[ name ] = easing; |
| 9503 | } |
| 9504 | } |
| 9505 | } |
| 9506 | |
| 9507 | jQuery.Animation = jQuery.extend( Animation, { |
| 9508 |
no outgoing calls
no test coverage detected
searching dependent graphs…