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

Function updateFunc

2.1.1/test/jquery-1.11.1.js:3354–3365  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

3352
3353 // Update function for both resolve and progress values
3354 updateFunc = function( i, contexts, values ) {
3355 return function( value ) {
3356 contexts[ i ] = this;
3357 values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
3358 if ( values === progressValues ) {
3359 deferred.notifyWith( contexts, values );
3360
3361 } else if ( !(--remaining) ) {
3362 deferred.resolveWith( contexts, values );
3363 }
3364 };
3365 },
3366
3367 progressValues, progressContexts, resolveContexts;
3368

Callers 1

jquery-1.11.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected