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

Function updateFunc

notes/docsify/unpkg/gotop/jquery-2.1.0.js:3281–3291  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

3279
3280 // Update function for both resolve and progress values
3281 updateFunc = function( i, contexts, values ) {
3282 return function( value ) {
3283 contexts[ i ] = this;
3284 values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
3285 if ( values === progressValues ) {
3286 deferred.notifyWith( contexts, values );
3287 } else if ( !( --remaining ) ) {
3288 deferred.resolveWith( contexts, values );
3289 }
3290 };
3291 },
3292
3293 progressValues, progressContexts, resolveContexts;
3294

Callers 1

jquery-2.1.0.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected