mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-17 11:11:05 +00:00
doc(ngdoc): add 'this' and 'returns' section for methods
This commit is contained in:
parent
6289d18e61
commit
57ea8156a1
1 changed files with 3 additions and 0 deletions
|
|
@ -511,6 +511,9 @@ Doc.prototype = {
|
||||||
dom.h(method.shortName + '(' + signature.join(', ') + ')', method, function(){
|
dom.h(method.shortName + '(' + signature.join(', ') + ')', method, function(){
|
||||||
dom.html(method.description);
|
dom.html(method.description);
|
||||||
method.html_usage_parameters(dom);
|
method.html_usage_parameters(dom);
|
||||||
|
self.html_usage_this(dom);
|
||||||
|
method.html_usage_returns(dom);
|
||||||
|
|
||||||
dom.h('Example', method.example, dom.html);
|
dom.h('Example', method.example, dom.html);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue