Expose the initial context via @root

This commit is contained in:
kpdecker
2014-01-15 09:41:53 -06:00
parent d841ad5962
commit f650b0d69e
4 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -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 = "";