Unverified Commit 4071e96e authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #1312 from ethereum/yann300-patch-8

Fix Render warning without msg
parents 64033dab 56dda9cc
......@@ -24,6 +24,7 @@ function Renderer (appAPI) {
* @param {Object} options {useSpan, noAnnotations, click:(Function), type:(warning, error), errFile, errLine, errCol}
*/
Renderer.prototype.error = function (message, container, opt) {
if (!message) return
if (container === undefined) return
opt = opt || {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment