MCPcopy Create free account
hub / github.com/F-Stack/f-stack / resolveFunc

Function resolveFunc

tools/libxo/xohtml/external/jquery.js:1313–1320  ·  view source on GitHub ↗
( i )

Source from the content-addressed store, hash-verified

1311 jQuery.Deferred(),
1312 promise = deferred.promise();
1313 function resolveFunc( i ) {
1314 return function( value ) {
1315 args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
1316 if ( !( --count ) ) {
1317 deferred.resolveWith( deferred, args );
1318 }
1319 };
1320 }
1321 function progressFunc( i ) {
1322 return function( value ) {
1323 pValues[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;

Callers 1

jquery.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected