diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/html.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/html.js b/src/util/html.js index a7b44ec6..be267003 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -38,6 +38,10 @@ export const joinChildren = Symbol(); // or when there are multiple children. export const noEdgeWhitespace = Symbol(); +export function blank() { + return []; +} + export function tag(tagName, ...args) { let content; let attributes; @@ -408,7 +412,7 @@ export class Template { : item.valueOf())); return new Tag(null, null, contents).valueOf(); } else { - return []; + return blank(); } } |