Expose the initial context via @root
This commit is contained in:
@@ -2,7 +2,7 @@ define(['handlebars.runtime'], function(Handlebars) {
|
||||
Handlebars = Handlebars["default"]; var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
|
||||
return templates['empty'] = template(function (Handlebars,depth0,helpers,partials,data) {
|
||||
this.compilerInfo = [4,'>= 1.0.0'];
|
||||
helpers = this.merge(helpers, Handlebars.helpers); data = data || {};
|
||||
helpers = this.merge(helpers, Handlebars.helpers); data = this.initData(depth0, data);
|
||||
var buffer = "";
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user