From fada958e72288d8dea18910341d2d0482eaab0a5 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 28 Apr 2018 19:57:45 +1200 Subject: [PATCH] Handle possibly undefined value --- tools/jsdoc/plugins/hifi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jsdoc/plugins/hifi.js b/tools/jsdoc/plugins/hifi.js index 061a3fe57d..5092e8b809 100644 --- a/tools/jsdoc/plugins/hifi.js +++ b/tools/jsdoc/plugins/hifi.js @@ -107,7 +107,7 @@ exports.handlers = { // Append an Available In: table at the end of the namespace description. if (rows.length > 0) { var table = "

Available in:" + rows.join("") + "
"; - e.doclet.description = e.doclet.description + table; + e.doclet.description = (e.doclet.description ? e.doclet.description : "") + table; } } }