MCPcopy
hub / github.com/dataarts/dat.gui / resolveFunc

Function resolveFunc

tests/jquery.js:1127–1137  ·  view source on GitHub ↗
( i )

Source from the content-addressed store, hash-verified

1125 firstParam :
1126 jQuery.Deferred();
1127 function resolveFunc( i ) {
1128 return function( value ) {
1129 args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
1130 if ( !( --count ) ) {
1131 // Strange bug in FF4:
1132 // Values changed onto the arguments object sometimes end up as undefined values
1133 // outside the $.when method. Cloning the object into a fresh array solves the issue
1134 deferred.resolveWith( deferred, sliceDeferred.call( args, 0 ) );
1135 }
1136 };
1137 }
1138 if ( length > 1 ) {
1139 for( ; i < length; i++ ) {
1140 if ( args[ i ] && jQuery.isFunction( args[ i ].promise ) ) {

Callers 1

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