diff --git a/lib/polyjuice/reader.js b/lib/polyjuice/reader.js index 993a9de..35b3564 100644 --- a/lib/polyjuice/reader.js +++ b/lib/polyjuice/reader.js @@ -21,7 +21,7 @@ module.exports = function (dictionary, truth_fn, truth_tbl, current) { this.get = function (key, value) { var read = that.dictionary[key] - if (!read) { + if (!read || value === null || value === 'undefined') { return {} }