Skip to content

Commit

Permalink
Make ignoreEmpty option false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejpeters committed Feb 22, 2016
1 parent e772f5f commit d3a8413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/TemplateConfig.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TemplateConfig
@nestTemplate = !!config.nested
@includeAll = !!config.all
@ensureArray = !!config.ensureArray
@ignoreEmpty = config.ignoreEmpty != false
@ignoreEmpty = !!config.ignoreEmpty

@config = config

Expand Down Expand Up @@ -97,4 +97,4 @@ if module?
module.exports = TemplateConfig
else
window.json2json or= {}
window.json2json.TemplateConfig = TemplateConfig
window.json2json.TemplateConfig = TemplateConfig

0 comments on commit d3a8413

Please sign in to comment.