mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-23 13:25:48 +00:00
fix(ngdocs): add '=' to type signatures with optional arguments
This commit is contained in:
parent
46691c2721
commit
d2ba4c5170
1 changed files with 3 additions and 0 deletions
|
|
@ -292,6 +292,9 @@ Doc.prototype = {
|
||||||
}
|
}
|
||||||
dom.text(' – {');
|
dom.text(' – {');
|
||||||
dom.text(param.type);
|
dom.text(param.type);
|
||||||
|
if (param.optional) {
|
||||||
|
dom.text('=');
|
||||||
|
}
|
||||||
dom.text('} – ');
|
dom.text('} – ');
|
||||||
});
|
});
|
||||||
dom.html(param.description);
|
dom.html(param.description);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue