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

Function updateFunc

static/wangEditor/js/lib/jquery-2.2.1.js:3444–3454  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

3442
3443 // Update function for both resolve and progress values
3444 updateFunc = function( i, contexts, values ) {
3445 return function( value ) {
3446 contexts[ i ] = this;
3447 values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
3448 if ( values === progressValues ) {
3449 deferred.notifyWith( contexts, values );
3450 } else if ( !( --remaining ) ) {
3451 deferred.resolveWith( contexts, values );
3452 }
3453 };
3454 },
3455
3456 progressValues, progressContexts, resolveContexts;
3457

Callers 1

jquery-2.2.1.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected