Comparing version 0.3.7 to 0.3.8
/* | ||
Yaku v0.3.7 | ||
Yaku v0.3.8 | ||
(c) 2015 Yad Smood. http://ysmood.org | ||
@@ -509,3 +509,5 @@ License MIT | ||
} | ||
p2._pre = p1; | ||
if (isLongStackTrace) { | ||
p2._pre = p1; | ||
} | ||
p1[p1._pCount++] = p2; | ||
@@ -551,2 +553,7 @@ if (p1._state !== $pending && p1._pCount > 0) { | ||
var child, i, len; | ||
if (node._umark) { | ||
return true; | ||
} else { | ||
node._umark = true; | ||
} | ||
i = 0; | ||
@@ -566,8 +573,5 @@ len = node._pCount; | ||
scheduleUnhandledRejection = genScheduler(9, genScheduler(9, function(p) { | ||
if ((!p._pre || hashOnRejected(p._pre)) && !hashOnRejected(p)) { | ||
if (!hashOnRejected(p)) { | ||
Yaku.onUnhandledRejection(p._value, p); | ||
} | ||
if (!isLongStackTrace) { | ||
p._pre = $nil; | ||
} | ||
})); | ||
@@ -574,0 +578,0 @@ |
{ | ||
"name": "yaku", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "An ES6 Promises/A+ implementation that doesn't hurt.", | ||
@@ -5,0 +5,0 @@ "main": "lib/yaku.js", |
48950
1016