diff options
| author | Igor Minar | 2011-07-15 17:20:54 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-07-16 01:12:29 -0700 | 
| commit | 57ea8156a1bcc5d5e65327408ed23143bea031d4 (patch) | |
| tree | 9ce5b22da57bea15d93cfcfeaab8d71258893bc5 /docs/src | |
| parent | 6289d18e61034c4105a1b5bcaa9f12b5d3a32b94 (diff) | |
| download | angular.js-57ea8156a1bcc5d5e65327408ed23143bea031d4.tar.bz2 | |
doc(ngdoc): add 'this' and 'returns' section for methods
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/ngdoc.js | 3 | 
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);        });      }); | 
