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

Function updateFunc

2.0.3/2.0.3.js:3153–3163  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

3151
3152 // Update function for both resolve and progress values
3153 updateFunc = function( i, contexts, values ) {
3154 return function( value ) {
3155 contexts[ i ] = this;
3156 values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value;
3157 if( values === progressValues ) {
3158 deferred.notifyWith( contexts, values );
3159 } else if ( !( --remaining ) ) {
3160 deferred.resolveWith( contexts, values );
3161 }
3162 };
3163 },
3164
3165 progressValues, progressContexts, resolveContexts;
3166

Callers 1

2.0.3.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected