Lines Matching refs:newPromise
47 function newPromise(id, fn) {92 var p1 = newPromise(1).then();93 var p2 = newPromise(2).then();105 var p1 = newPromise(1);106 var p2 = newPromise(2);107 var p3 = newPromise(3);132 var p1 = newPromise(1);133 var p2 = newPromise(2);153 var p1 = newPromise(1);154 var p2 = newPromise(2);