MCPcopy
hub / github.com/jquery/jquery / complete

Function complete

test/data/testinit.js:190–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188 var completed = false,
189 remaining = requestOptions.length,
190 complete = function() {
191 if ( !completed && --remaining === 0 ) {
192 completed = true;
193 delete ajaxTest.abort;
194 if ( options.teardown ) {
195 options.teardown();
196 }
197
198 // Make sure all events will be called before done()
199 setTimeout( done );
200 }
201 },
202 requests = jQuery.map( requestOptions, function( options ) {
203 var request = ( options.create || jQuery.ajax )( options ),
204 callIfDefined = function( deferType, optionType ) {

Callers 5

jquery-3.7.1.jsFile · 0.85
jQueryFactoryFunction · 0.85
jQueryFactoryWrapperFunction · 0.85
script.jsFile · 0.85
xhr.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected