Comparing version 0.5.1 to 0.5.2
@@ -102,3 +102,3 @@ var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
return c.type === JSXElement ? compileJSXElement(c, indent("")) : | ||
c.type === JSXText ? codeStr(c.text.trim()) : | ||
c.type === JSXText ? codeStr(c.text) : | ||
c.type === JSXInsert ? compileSegments(c.code) : | ||
@@ -105,0 +105,0 @@ "document.createComment(" + codeStr(c.text) + ")"; |
@@ -731,3 +731,3 @@ (function (global, factory) { | ||
return c.type === JSXElement ? compileJSXElement(c, indent("")) : | ||
c.type === JSXText ? codeStr(c.text.trim()) : | ||
c.type === JSXText ? codeStr(c.text) : | ||
c.type === JSXInsert ? compileSegments(c.code) : | ||
@@ -734,0 +734,0 @@ "document.createComment(" + codeStr(c.text) + ")"; |
{ | ||
"name": "surplus", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "High-performance JSX web views for S.js applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -126,3 +126,3 @@ import { | ||
c.type === JSXElement ? compileJSXElement(c, indent("")) : | ||
c.type === JSXText ? codeStr(c.text.trim()) : | ||
c.type === JSXText ? codeStr(c.text) : | ||
c.type === JSXInsert ? compileSegments(c.code) : | ||
@@ -129,0 +129,0 @@ `document.createComment(${codeStr(c.text)})` |
429005