MCPcopy Index your code
hub / github.com/JsAaron/jQuery / updateFunc

Function updateFunc

2.1.1/test/other.js:712–722  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

710
711 // Update function for both resolve and progress values
712 updateFunc = function( i, contexts, values ) {
713 return function( value ) {
714 contexts[ i ] = this;
715 values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
716 if ( values === progressValues ) {
717 deferred.notifyWith( contexts, values );
718 } else if ( !( --remaining ) ) {
719 deferred.resolveWith( contexts, values );
720 }
721 };
722 },
723
724 progressValues, progressContexts, resolveContexts;
725

Callers 1

other.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected