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

Function updateFunc

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

Source from the content-addressed store, hash-verified

3303
3304 // Update function for both resolve and progress values
3305 updateFunc = function( i, contexts, values ) {
3306 return function( value ) {
3307 contexts[ i ] = this;
3308 values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
3309 if ( values === progressValues ) {
3310 deferred.notifyWith( contexts, values );
3311 } else if ( !( --remaining ) ) {
3312 deferred.resolveWith( contexts, values );
3313 }
3314 };
3315 },
3316
3317 progressValues, progressContexts, resolveContexts;
3318

Callers 1

jquery-2.1.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected