MCPcopy Index your code
hub / github.com/components/jquery / updateFunc

Function updateFunc

jquery.js:3469–3477  ·  view source on GitHub ↗
( i )

Source from the content-addressed store, hash-verified

3467
3468 // subordinate callback factory
3469 updateFunc = function( i ) {
3470 return function( value ) {
3471 resolveContexts[ i ] = this;
3472 resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
3473 if ( !( --remaining ) ) {
3474 primary.resolveWith( resolveContexts, resolveValues );
3475 }
3476 };
3477 };
3478
3479 // Single- and empty arguments are adopted like Promise.resolve
3480 if ( remaining <= 1 ) {

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected