+!function(a,b){"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(module.exports=b(global.Handlebars)),exports=b(global.Handlebars)):b(a.Handlebars)}(this,function(a){var b=a.Utils,c=a.registerHelper;a.Utils.isString=function(a){return"[object String]"==toString.call(a)},a.registerHelper=function(b,d,e){var f=function(){for(var b=[],c=0;c<arguments.length;c++){var e=arguments[c];if(e&&e.hash){for(key in e.hash)e.hash[key]=a.resolveNested.apply(this,[e.hash[key]]);b.push(e)}else b.push(a.resolveNested.apply(this,[e]))}return d.apply(this,b)};c.apply(this,[b,f,e])},a.resolveNested=function(c){return b.isString(c)&&c.indexOf("{{")>=0&&(c=a.compile(c)(this)),c}});
0 commit comments