diff options
| author | Igor Minar | 2012-01-10 19:14:22 -0800 |
|---|---|---|
| committer | Igor Minar | 2012-01-13 13:53:07 -0800 |
| commit | d2ba4c5170f604f2610aaef1d205137e2848a791 (patch) | |
| tree | 2843af990bc6143db84dc50487011c0b398169da | |
| parent | 46691c2721735c27426b721d780e8816d502b9f2 (diff) | |
| download | angular.js-d2ba4c5170f604f2610aaef1d205137e2848a791.tar.bz2 | |
fix(ngdocs): add '=' to type signatures with optional arguments
| -rw-r--r-- | docs/src/ngdoc.js | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
