From d2ba4c5170f604f2610aaef1d205137e2848a791 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 10 Jan 2012 19:14:22 -0800 Subject: fix(ngdocs): add '=' to type signatures with optional arguments --- docs/src/ngdoc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index b77941d2..49c6607b 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -292,6 +292,9 @@ Doc.prototype = { } dom.text(' – {'); dom.text(param.type); + if (param.optional) { + dom.text('='); + } dom.text('} – '); }); dom.html(param.description); -- cgit v1.2.3