Unverified Commit 56dda9cc authored by yann300's avatar yann300 Committed by GitHub

Update renderer.js

parent 72949186
...@@ -24,6 +24,7 @@ function Renderer (appAPI) { ...@@ -24,6 +24,7 @@ function Renderer (appAPI) {
* @param {Object} options {useSpan, noAnnotations, click:(Function), type:(warning, error), errFile, errLine, errCol} * @param {Object} options {useSpan, noAnnotations, click:(Function), type:(warning, error), errFile, errLine, errCol}
*/ */
Renderer.prototype.error = function (message, container, opt) { Renderer.prototype.error = function (message, container, opt) {
if (!message) return
if (container === undefined) return if (container === undefined) return
opt = opt || {} 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