parse-framework
Advanced tools
Comparing version 2.4.8 to 2.4.9
@@ -290,2 +290,10 @@ /*jslint browser:true */ | ||
} | ||
else if (name === "noleadzero" || name === "no_lead_zero") { | ||
if (values === "true") { | ||
options.lexerOptions.style.no_lead_zero = true; | ||
} | ||
else if (values === "false") { | ||
options.lexerOptions.style.no_lead_zero = false; | ||
} | ||
} | ||
else if (name === "objectsort") { | ||
@@ -333,9 +341,6 @@ if (values === "true") { | ||
} | ||
else if (name === "noleadzero" || name === "no_lead_zero") { | ||
if (values === "true") { | ||
options.lexerOptions.style.no_lead_zero = true; | ||
else if (name === "var_word" || name === "varword") { | ||
if (values === "list" || values === "each" || values === "none") { | ||
options.lexerOptions.script.varword = values; | ||
} | ||
else if (values === "false") { | ||
options.lexerOptions.style.no_lead_zero = false; | ||
} | ||
} | ||
@@ -342,0 +347,0 @@ } while (aa > 0); |
@@ -290,2 +290,21 @@ /*jslint node:true */ | ||
} | ||
if ((/_varword(\.|_|-)/).test(sourcepath) === true) { | ||
if ((/_varword-/).test(sourcepath) === true) { | ||
if ((/_varword-list/).test(sourcepath) === true) { | ||
options.lexerOptions.script.varword = "list"; | ||
} | ||
else if ((/_varword-each/).test(sourcepath) === true) { | ||
options.lexerOptions.script.varword = "each"; | ||
} | ||
else { | ||
options.lexerOptions.script.varword = "none"; | ||
} | ||
} | ||
else { | ||
options.lexerOptions.script.varword = "none"; | ||
} | ||
} | ||
else { | ||
options.lexerOptions.script.varword = "none"; | ||
} | ||
if ((/_wrap-\d+(\.|_)/).test(sourcepath) === true) { | ||
@@ -292,0 +311,0 @@ let wrap = sourcepath.slice(sourcepath.indexOf("_wrap-") + 6), numb = 0; |
@@ -43,3 +43,3 @@ { | ||
}, | ||
"version": "2.4.8" | ||
"version": "2.4.9" | ||
} |
@@ -5,3 +5,3 @@ # Parse Framework | ||
## Version 2.4.8 | ||
## Version 2.4.9 | ||
Play around with this application [in your browser](http://prettydiff.com/parse-framework/runtimes/browsertest.xhtml). | ||
@@ -8,0 +8,0 @@ |
@@ -302,2 +302,8 @@ /*jslint browser:true */ | ||
} | ||
} else if (name === "noleadzero" || name === "no_lead_zero") { | ||
if (values === "true") { | ||
options.lexerOptions.style.no_lead_zero = true; | ||
} else if (values === "false") { | ||
options.lexerOptions.style.no_lead_zero = false; | ||
} | ||
} else if (name === "objectsort") { | ||
@@ -335,7 +341,5 @@ if (values === "true") { | ||
} | ||
} else if (name === "noleadzero" || name === "no_lead_zero") { | ||
if (values === "true") { | ||
options.lexerOptions.style.no_lead_zero = true; | ||
} else if (values === "false") { | ||
options.lexerOptions.style.no_lead_zero = false; | ||
} else if (name === "var_word" || name === "varword") { | ||
if (values === "list" || values === "each" || values === "none") { | ||
options.lexerOptions.script.varword = values; | ||
} | ||
@@ -342,0 +346,0 @@ } |
@@ -281,2 +281,17 @@ /*jslint node:true */ | ||
} | ||
if ((/_varword(\.|_|-)/).test(sourcepath) === true) { | ||
if ((/_varword-/).test(sourcepath) === true) { | ||
if ((/_varword-list/).test(sourcepath) === true) { | ||
options.lexerOptions.script.varword = "list"; | ||
} else if ((/_varword-each/).test(sourcepath) === true) { | ||
options.lexerOptions.script.varword = "each"; | ||
} else { | ||
options.lexerOptions.script.varword = "none"; | ||
} | ||
} else { | ||
options.lexerOptions.script.varword = "none"; | ||
} | ||
} else { | ||
options.lexerOptions.script.varword = "none"; | ||
} | ||
if ((/_wrap-\d+(\.|_)/).test(sourcepath) === true) { | ||
@@ -283,0 +298,0 @@ let wrap:string = sourcepath.slice(sourcepath.indexOf("_wrap-") + 6), |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
3784711
222
45462