MCPcopy Create free account
hub / github.com/benoitpointet/jquery-scrollsnap-plugin / updateFunc

Function updateFunc

demo/foundation/javascripts/jquery.js:1202–1212  ·  view source on GitHub ↗
( i, contexts, values )

Source from the content-addressed store, hash-verified

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

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected