From 70a330092758d79adfd7fa34f0cf9ae45b3c5938 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sat, 28 May 2011 02:27:56 +0200 Subject: [PATCH] jsdoc: when no default value is given, just put optional. --- build/jsdoc-toolkit/templates/jsdoc/parameters.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jsdoc-toolkit/templates/jsdoc/parameters.tmpl b/build/jsdoc-toolkit/templates/jsdoc/parameters.tmpl index 4d567500..c9d80667 100644 --- a/build/jsdoc-toolkit/templates/jsdoc/parameters.tmpl +++ b/build/jsdoc-toolkit/templates/jsdoc/parameters.tmpl @@ -5,7 +5,7 @@ {+ parameter.name +}: {+ new Link().toSymbol(parameter.type) +} — {+processInlineTags(parameter.desc, {stripParagraphs: true})+} - — optional, default: {+parameter.defaultValue+} + — optional, default: {+parameter.defaultValue+}