grunt-bake
Advanced tools
Comparing version 1.4.0 to 1.4.1
{ | ||
"name": "grunt-bake", | ||
"description": "Bake external includes into files to create static pages with no server-side compilation time", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"homepage": "https://github.com/MathiasPaumgarten/grunt-bake", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -602,4 +602,5 @@ # grunt-bake | ||
`1.4.1` __2-2-2016__ fixes minor bug fix #72. | ||
`1.4.0` __1-30-2016__ adds full JS support for evaluating _if. | ||
`1.3.1` __1-20-2016__ adds support for parsing values in inline variables. | ||
`1.3.0` __1-13-2016__ adds support for parsing file paths in bake tag. |
@@ -123,3 +123,3 @@ /* | ||
var ifRegex = /([a-z_$][0-9a-z_$@]*)|(?:"([^"]*)")|(?:'([^']*)')/gi; | ||
var ifRegex = /([a-z_$][0-9a-z_$@\.]*)|(?:"([^"]*)")|(?:'([^']*)')/gi; | ||
@@ -264,6 +264,8 @@ // Method to check wether file exists and warn if not. | ||
return "params." + varname; | ||
return "params['" + varname + "']"; | ||
}); | ||
try { | ||
/* jshint evil:true */ | ||
return ! eval( condition ); | ||
@@ -270,0 +272,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
52059
832
606