MCPcopy
hub / github.com/hokein/electron-sample-apps / resolveFunc

Function resolveFunc

desktop-capture/jquery.js:1325–1332  ·  view source on GitHub ↗
( i )

Source from the content-addressed store, hash-verified

1323 jQuery.Deferred(),
1324 promise = deferred.promise();
1325 function resolveFunc( i ) {
1326 return function( value ) {
1327 args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
1328 if ( !( --count ) ) {
1329 deferred.resolveWith( deferred, args );
1330 }
1331 };
1332 }
1333 function progressFunc( i ) {
1334 return function( value ) {
1335 pValues[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;

Callers 1

jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected