MCPcopy Create free account
hub / github.com/TruthHun/BookStack / updateFunc

Function updateFunc

static/jquery/1.12.4/jquery.js:3494–3505  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

3492
3493 // Update function for both resolve and progress values
3494 updateFunc = function( i, contexts, values ) {
3495 return function( value ) {
3496 contexts[ i ] = this;
3497 values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
3498 if ( values === progressValues ) {
3499 deferred.notifyWith( contexts, values );
3500
3501 } else if ( !( --remaining ) ) {
3502 deferred.resolveWith( contexts, values );
3503 }
3504 };
3505 },
3506
3507 progressValues, progressContexts, resolveContexts;
3508

Callers 1

jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected