MCPcopy
hub / github.com/requirejs/requirejs / resolveFunc

Function resolveFunc

tests/jquery/scripts/jquery-1.7.1.js:1296–1303  ·  view source on GitHub ↗
( i )

Source from the content-addressed store, hash-verified

1294 jQuery.Deferred(),
1295 promise = deferred.promise();
1296 function resolveFunc( i ) {
1297 return function( value ) {
1298 args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
1299 if ( !( --count ) ) {
1300 deferred.resolveWith( deferred, args );
1301 }
1302 };
1303 }
1304 function progressFunc( i ) {
1305 return function( value ) {
1306 pValues[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;

Callers 1

jquery-1.7.1.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…