MCPcopy Index your code
hub / github.com/jquery/jquery / createDeferred

Function createDeferred

test/unit/deferred.js:13–15  ·  view source on GitHub ↗
( fn )

Source from the content-addressed store, hash-verified

11jQuery.each( [ "", " - new operator" ], function( _, withNew ) {
12
13 function createDeferred( fn ) {
14 return withNew ? new jQuery.Deferred( fn ) : jQuery.Deferred( fn );
15 }
16
17 QUnit.test( "jQuery.Deferred" + withNew, function( assert ) {
18

Callers 1

deferred.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected