zpin-templates
Advanced tools
Comparing version 0.0.26 to 0.0.27
@@ -212,3 +212,3 @@ 'use strict'; | ||
val = val.trim(); | ||
if (val.indexOf("{this.styles.") < 0) { | ||
if (val.indexOf("{") < 0) { | ||
var arr = val.split(" "); | ||
@@ -226,2 +226,4 @@ var result = ""; | ||
result = '{[' + result + '].join(\' \')}'; | ||
} else { | ||
result = val; | ||
} | ||
@@ -228,0 +230,0 @@ props[propKey] = existing + utils.convertText(node, context, result); |
{ | ||
"name": "zpin-templates", | ||
"version": "0.0.26", | ||
"version": "0.0.27", | ||
"description": "Light weight templates for react -> write html get valid react code", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -227,3 +227,3 @@ 'use strict'; | ||
val=val.trim(); | ||
if(val.indexOf("{this.styles.")<0){ | ||
if(val.indexOf("{")<0){ | ||
var arr=val.split(" "); | ||
@@ -241,2 +241,4 @@ var result=""; | ||
result=`{[${result}].join(' ')}`; | ||
}else{ | ||
result=val; | ||
} | ||
@@ -243,0 +245,0 @@ props[propKey] = existing + utils.convertText(node, context,result); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
278053
3723