MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / createTween

Function createTween

camera/jquery.js:6321–6333  ·  view source on GitHub ↗
( value, prop, animation )

Source from the content-addressed store, hash-verified

6319}
6320
6321function createTween( value, prop, animation ) {
6322 var tween,
6323 collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
6324 index = 0,
6325 length = collection.length;
6326 for ( ; index < length; index++ ) {
6327 if ( (tween = collection[ index ].call( animation, prop, value )) ) {
6328
6329 // we're done with this property
6330 return tween;
6331 }
6332 }
6333}
6334
6335function defaultPrefilter( elem, props, opts ) {
6336 /* jshint validthis: true */

Callers 1

defaultPrefilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected