diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-04-10 13:51:11 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-04-10 13:51:11 +0100 |
| commit | 6ac4b160eab6db7cfc58cb4ede4b5142a36ff7ad (patch) | |
| tree | b31f498a005cb5ef00e5f3eda2d321535f866772 /lib/html-writer.js | |
| parent | 83ac75808b14862531b046f51f90014d7dea621e (diff) | |
Fix jshint errors
Diffstat (limited to 'lib/html-writer.js')
| -rw-r--r-- | lib/html-writer.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/html-writer.js b/lib/html-writer.js index d2fb67b..d329438 100644 --- a/lib/html-writer.js +++ b/lib/html-writer.js @@ -7,7 +7,7 @@ function writer() { var fragments = []; function open(tagName, attributes) { - var attributeString = generateAttributeString(attributes) + var attributeString = generateAttributeString(attributes); fragments.push(util.format("<%s%s>", tagName, attributeString)); } @@ -16,7 +16,7 @@ function writer() { } function selfClosing(tagName, attributes) { - var attributeString = generateAttributeString(attributes) + var attributeString = generateAttributeString(attributes); fragments.push(util.format("<%s%s />", tagName, attributeString)); } @@ -27,7 +27,7 @@ function writer() { } function text(value) { - fragments.push(escapeHtml(value)) + fragments.push(escapeHtml(value)); } function append(html) { |
