diff options
Diffstat (limited to 'docs/src/dom.js')
| -rw-r--r-- | docs/src/dom.js | 4 |
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++; |
