MCPcopy Create free account
hub / github.com/JsAaron/jQuery / createTween

Function createTween

2.0.3/2.0.3.js:8048–8060  ·  view source on GitHub ↗
( value, prop, animation )

Source from the content-addressed store, hash-verified

8046 }
8047
8048 function createTween( value, prop, animation ) {
8049 var tween,
8050 collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
8051 index = 0,
8052 length = collection.length;
8053 for ( ; index < length; index++ ) {
8054 if ( (tween = collection[ index ].call( animation, prop, value )) ) {
8055
8056 // we're done with this property
8057 return tween;
8058 }
8059 }
8060 }
8061
8062 function Animation( elem, properties, options ) {
8063 var result,

Callers 1

defaultPrefilterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected