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

Function createTween

2.1.1/test/jquery-2.1.1.js:6320–6332  ·  view source on GitHub ↗
( value, prop, animation )

Source from the content-addressed store, hash-verified

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

Callers 1

defaultPrefilterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected