MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / updateFunc

Function updateFunc

Three.js/js/jquery-1.9.1.js:1268–1278  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

1266
1267 // Update function for both resolve and progress values
1268 updateFunc = function( i, contexts, values ) {
1269 return function( value ) {
1270 contexts[ i ] = this;
1271 values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value;
1272 if( values === progressValues ) {
1273 deferred.notifyWith( contexts, values );
1274 } else if ( !( --remaining ) ) {
1275 deferred.resolveWith( contexts, values );
1276 }
1277 };
1278 },
1279
1280 progressValues, progressContexts, resolveContexts;
1281

Callers 1

jquery-1.9.1.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected