aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/dom.js
diff options
context:
space:
mode:
authorMisko Hevery2011-11-10 13:07:50 -0800
committerMisko Hevery2011-11-14 20:31:17 -0800
commit8fe77b69e8008c6a432f9ef226586a09deb48c6c (patch)
treec908d99ad9ad2fa62127b618b04857400fbce36f /docs/src/dom.js
parent1cc6bee4ce5d574b84b4e0c2ded3686de7ab71ef (diff)
downloadangular.js-8fe77b69e8008c6a432f9ef226586a09deb48c6c.tar.bz2
refactor(docs): improved the visual rendering of the documentation pages
Diffstat (limited to 'docs/src/dom.js')
-rw-r--r--docs/src/dom.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/src/dom.js b/docs/src/dom.js
index 11330a02..7363d06b 100644
--- a/docs/src/dom.js
+++ b/docs/src/dom.js
@@ -74,6 +74,10 @@ DOM.prototype = {
});
},
+ div: function(attr, text) {
+ this.tag('div', attr, text);
+ },
+
h: function(heading, content, fn){
if (content==undefined || (content instanceof Array && content.length == 0)) return;
this.headingDepth++;