MCPcopy
hub / github.com/jquery-backstretch/jquery-backstretch / updateFunc

Function updateFunc

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

Source from the content-addressed store, hash-verified

1202
1203 // Update function for both resolve and progress values
1204 updateFunc = function( i, contexts, values ) {
1205 return function( value ) {
1206 contexts[ i ] = this;
1207 values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value;
1208 if( values === progressValues ) {
1209 deferred.notifyWith( contexts, values );
1210 } else if ( !( --remaining ) ) {
1211 deferred.resolveWith( contexts, values );
1212 }
1213 };
1214 },
1215
1216 progressValues, progressContexts, resolveContexts;
1217

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected