fix(ngdocs): add '=' to type signatures with optional arguments

This commit is contained in:
Igor Minar 2012-01-10 19:14:22 -08:00
parent 46691c2721
commit d2ba4c5170

View file

@ -292,6 +292,9 @@ Doc.prototype = {
}
dom.text(' {');
dom.text(param.type);
if (param.optional) {
dom.text('=');
}
dom.text('} ');
});
dom.html(param.description);