From 8fe77b69e8008c6a432f9ef226586a09deb48c6c Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 10 Nov 2011 13:07:50 -0800 Subject: refactor(docs): improved the visual rendering of the documentation pages --- docs/src/dom.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/src/dom.js') 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++; -- cgit v1.2.3