mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-07 22:37:28 +08:00
doc(ngdoc): add 'this' and 'returns' section for methods
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user