MCPcopy Create free account
hub / github.com/frank-lam/fullstack-tutorial / createTween

Function createTween

notes/docsify/unpkg/gotop/jquery-2.1.0.js:6271–6283  ·  view source on GitHub ↗
( value, prop, animation )

Source from the content-addressed store, hash-verified

6269}
6270
6271function createTween( value, prop, animation ) {
6272 var tween,
6273 collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
6274 index = 0,
6275 length = collection.length;
6276 for ( ; index < length; index++ ) {
6277 if ( (tween = collection[ index ].call( animation, prop, value )) ) {
6278
6279 // we're done with this property
6280 return tween;
6281 }
6282 }
6283}
6284
6285function defaultPrefilter( elem, props, opts ) {
6286 /* jshint validthis: true */

Callers 1

defaultPrefilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected