summaryrefslogtreecommitdiffstats
path: root/spec/expected/empty.amd.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2015-08-18 23:54:04 -0700
committerkpdecker <kpdecker@gmail.com>2015-08-18 23:54:04 -0700
commit9a2d1d6009406915d1ca177ed5321e4727b9776f (patch)
treeef0532efe7e936342ad793e5917d563d34c036c8 /spec/expected/empty.amd.js
parent08093d72f086c93441e77c7605c07156e7555cad (diff)
downloadhandlebars.js-9a2d1d6009406915d1ca177ed5321e4727b9776f.zip
handlebars.js-9a2d1d6009406915d1ca177ed5321e4727b9776f.tar.gz
handlebars.js-9a2d1d6009406915d1ca177ed5321e4727b9776f.tar.bz2
Pass container rather than exec as context
There is no real need for us to do `.call(container` other than for backwards compatibility with legacy versions. Using the 4.x release as a chance to optimize this behavior.
Diffstat (limited to 'spec/expected/empty.amd.js')
-rw-r--r--spec/expected/empty.amd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/expected/empty.amd.js b/spec/expected/empty.amd.js
index 852733b..0b39884 100644
--- a/spec/expected/empty.amd.js
+++ b/spec/expected/empty.amd.js
@@ -1,6 +1,6 @@
define(['handlebars.runtime'], function(Handlebars) {
Handlebars = Handlebars["default"]; var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
-return templates['empty'] = template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
+return templates['empty'] = template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(container,depth0,helpers,partials,data) {
return "";
},"useData":true});
});