wc-compiler
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "wc-compiler", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Experimental native Web Components compiler.", | ||
@@ -5,0 +5,0 @@ "main": "src/wcc.js", |
@@ -13,3 +13,3 @@ // this must come first | ||
function getParse(html) { | ||
return html.indexOf('<html>') >= 0 || html.indexOf('<body>') || html.indexOf('<head>') | ||
return html.indexOf('<html>') >= 0 || html.indexOf('<body>') >= 0 || html.indexOf('<head>') >= 0 | ||
? parse | ||
@@ -135,3 +135,3 @@ : parseFragment; | ||
${serialize(finalTree)} | ||
</${elementTagName} | ||
</${elementTagName}> | ||
` | ||
@@ -138,0 +138,0 @@ : serialize(finalTree); |
13229