MCPcopy
hub / github.com/nbubna/store / updateFunc

Function updateFunc

libs/jquery/jquery.js:1247–1257  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

1245
1246 // Update function for both resolve and progress values
1247 updateFunc = function( i, contexts, values ) {
1248 return function( value ) {
1249 contexts[ i ] = this;
1250 values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value;
1251 if( values === progressValues ) {
1252 deferred.notifyWith( contexts, values );
1253 } else if ( !( --remaining ) ) {
1254 deferred.resolveWith( contexts, values );
1255 }
1256 };
1257 },
1258
1259 progressValues, progressContexts, resolveContexts;
1260

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…