Comparing version 0.15.1 to 0.15.2
/* | ||
Yaku v0.15.1 | ||
Yaku v0.15.2 | ||
(c) 2015 Yad Smood. http://ysmood.org | ||
@@ -316,6 +316,5 @@ License MIT | ||
Yaku.unhandledRejection = function (reason, p) { | ||
var con = root.console; | ||
if (con) { | ||
con.error($unhandledRejectionMsg, genStackInfo(reason, p)); | ||
} | ||
try { | ||
root.console.error($unhandledRejectionMsg, genStackInfo(reason, p)); | ||
} catch (e) {} // eslint-disable-line | ||
}; | ||
@@ -322,0 +321,0 @@ |
{ | ||
"name": "yaku", | ||
"version": "0.15.1", | ||
"version": "0.15.2", | ||
"description": "A light-weight ES6 Promises/A+ implementation that doesn't hurt.", | ||
@@ -5,0 +5,0 @@ "main": "lib/yaku.js", |
@@ -414,3 +414,3 @@ <a href="http://promisesaplus.com/"> | ||
- ### **[Yaku.rejectionHandled(reason, p)](src/yaku.js?source#L323)** | ||
- ### **[Yaku.rejectionHandled(reason, p)](src/yaku.js?source#L322)** | ||
@@ -428,3 +428,3 @@ Emitted whenever a Promise was rejected and an error handler was | ||
- ### **[Yaku.enableLongStackTrace](src/yaku.js?source#L337)** | ||
- ### **[Yaku.enableLongStackTrace](src/yaku.js?source#L336)** | ||
@@ -444,3 +444,3 @@ It is used to enable the long stack trace. | ||
- ### **[Yaku.nextTick](src/yaku.js?source#L360)** | ||
- ### **[Yaku.nextTick](src/yaku.js?source#L359)** | ||
@@ -447,0 +447,0 @@ Only Node has `process.nextTick` function. For browser there are |
87173
1604