feat.js
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -24,6 +24,7 @@ module.exports = { | ||
let pullData = require("./../lib/parseVars"); | ||
let conditionResult = pullData(condition, data, blb); | ||
// parse the condition to a boolean | ||
if (condition.toLowerCase() == "true") condition = true; | ||
else if (condition.toLowerCase() == "false") condition = false; | ||
if (conditionResult) { | ||
if (condition) { | ||
return content; | ||
@@ -30,0 +31,0 @@ } else { |
{ | ||
"name": "feat.js", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
86503
780