From 3d5b9e71a569e20040a1f1f644ebf63774400ee0 Mon Sep 17 00:00:00 2001 From: Ibby Date: Mon, 20 Mar 2017 20:30:12 -0400 Subject: [PATCH] edit optional and default values --- scripts/docs/templates/common.template.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index 79dd0b4a4..f3c743369 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -27,13 +27,13 @@ docType: "<$ doc.docType $>" <$ param.name $> - <@ if param.optional @>
(optional)
<@ endif @> <$ param.returnType | escape $> <$ param.description | marked $> + <@ if param.optional @>Optional<@ endif @> <@ endfor @> @@ -71,14 +71,14 @@ docType: "<$ doc.docType $>" <$ param.name $> <@ if param.alias @>| <$ param.alias $><@ endif @> - <@ if param.type.optional @>
(optional)
<@ endif @> <$ typeList(param.typeList) $> <$ param.description | marked $> - <@ if param.default @>

(default: <$ param.default $>)

<@ endif @> + <@ if param.optional @>Optional<@ endif @> + <@ if param.defaultValue @>

(default: <$ param.defaultValue $>)

<@ endif @> <@ endfor @>