MCPcopy Create free account
hub / github.com/codrops/RainEffect / testResolve

Function testResolve

demo/js/index3.js:2631–2635  ·  view source on GitHub ↗
(sub)

Source from the content-addressed store, hash-verified

2629 , Wrapper;
2630
2631var testResolve = function(sub){
2632 var test = new P(function(){});
2633 if(sub)test.constructor = Object;
2634 return P.resolve(test) === test;
2635};
2636
2637var useNative = function(){
2638 var works = false;

Callers 1

index3.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected