diff options
Diffstat (limited to 'lib/html/ast.js')
| -rw-r--r-- | lib/html/ast.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/html/ast.js b/lib/html/ast.js index 6056f5c..30e65c7 100644 --- a/lib/html/ast.js +++ b/lib/html/ast.js @@ -16,7 +16,7 @@ function nonFreshElement(tagName, attributes, children) { children); } -function element(tagName, attributes, children) { +function freshElement(tagName, attributes, children) { return elementWithTag( htmlPaths.element(tagName, attributes, {fresh: true}), children); @@ -67,7 +67,7 @@ function collapseFragments(elements) { } exports.fragment = fragment; -exports.element = element; +exports.freshElement = freshElement; exports.nonFreshElement = nonFreshElement; exports.elementWithTag = elementWithTag; exports.selfClosingElement = selfClosingElement; |
