aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
authorMisko Hevery2011-04-20 13:44:34 -0700
committerMisko Hevery2011-06-08 15:21:33 -0700
commitf9f95879f08073ce1170a471a925541324a0ff23 (patch)
treecffde6cf16a59806c39ef0298211c9e508e9cf01 /docs/src
parent8cad231bd219eddd518de8b8bd040d3f12f08d17 (diff)
downloadangular.js-f9f95879f08073ce1170a471a925541324a0ff23.tar.bz2
Added support for properties in documentation
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/ngdoc.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index 3d2265bc..ffc77d78 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -321,6 +321,17 @@ Doc.prototype = {
});
},
+ html_usage_property: function(dom){
+ var self = this;
+ dom.h('Usage', function(){
+ dom.code(function(){
+ dom.text(self.name);
+ });
+
+ self.html_usage_returns(dom);
+ });
+ },
+
html_usage_directive: function(dom){
var self = this;
dom.h('Usage', function(){