aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/ngdoc.js
diff options
context:
space:
mode:
authorIgor Minar2011-07-15 17:20:54 -0700
committerIgor Minar2011-07-16 01:12:29 -0700
commit57ea8156a1bcc5d5e65327408ed23143bea031d4 (patch)
tree9ce5b22da57bea15d93cfcfeaab8d71258893bc5 /docs/src/ngdoc.js
parent6289d18e61034c4105a1b5bcaa9f12b5d3a32b94 (diff)
downloadangular.js-57ea8156a1bcc5d5e65327408ed23143bea031d4.tar.bz2
doc(ngdoc): add 'this' and 'returns' section for methods
Diffstat (limited to 'docs/src/ngdoc.js')
-rw-r--r--docs/src/ngdoc.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index dc3ad5e1..148a400f 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -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);
});
});