touchui-create
Advanced tools
Comparing version 0.2.6 to 0.2.7
{ | ||
"name": "touchui-create", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "touchui-create", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
@@ -48,3 +48,3 @@ // 创建页面 | ||
var test1 = /(pages['"]?\s*\n*\s*:\s*\n*\s*\[)\s*?\]/ | ||
var test2 = /((\s*)pages['"]?\s*\n*\s*:\s*\n*\s*\[\n(\s+)\S[\s\S]*?),?\s*\]/ | ||
var test2 = /((\s*)['"]?pages['"]?\s*\n*\s*:\s*\n*\s*\[\n(\s+)\S[\s\S]*?),?\s*\]/ | ||
if(str.match(test1)) { | ||
@@ -51,0 +51,0 @@ str = str.replace(test1, `$1"${page}"]`) |
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
551455