doc(ngdoc): add 'this' and 'returns' section for methods

This commit is contained in:
Igor Minar 2011-07-15 17:20:54 -07:00
parent 6289d18e61
commit 57ea8156a1

View file

@ -511,6 +511,9 @@ Doc.prototype = {
dom.h(method.shortName + '(' + signature.join(', ') + ')', method, function(){
dom.html(method.description);
method.html_usage_parameters(dom);
self.html_usage_this(dom);
method.html_usage_returns(dom);
dom.h('Example', method.example, dom.html);
});
});