From dfd53f132dee227151c41a47c3b06cacc716b423 Mon Sep 17 00:00:00 2001 From: killthejava Date: Sat, 10 Mar 2018 15:16:07 -0300 Subject: [PATCH] update tests --- .../output/dynamic-attribute-with-parseDynamicRoutes.txt | 2 +- test/templates/output/dynamic-attribute-with-root.txt | 2 +- test/templates/output/dynamic-attribute.txt | 2 +- test/templates/output/simple.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/templates/output/dynamic-attribute-with-parseDynamicRoutes.txt b/test/templates/output/dynamic-attribute-with-parseDynamicRoutes.txt index d10ad7d..32a801a 100644 --- a/test/templates/output/dynamic-attribute-with-parseDynamicRoutes.txt +++ b/test/templates/output/dynamic-attribute-with-parseDynamicRoutes.txt @@ -1,5 +1,5 @@ module.exports = (Handlebars['default'] || Handlebars).template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { - var helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; + var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; return "= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { - var helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; + var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; return "= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { - var helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; + var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; return "\n"; },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { - var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}); + var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}); return "

" + container.escapeExpression(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"title","hash":{},"data":data}) : helper)))