summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlebars/runtime.js')
-rw-r--r--lib/handlebars/runtime.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/handlebars/runtime.js b/lib/handlebars/runtime.js
index f29efe4..4537687 100644
--- a/lib/handlebars/runtime.js
+++ b/lib/handlebars/runtime.js
@@ -1,6 +1,7 @@
-var Handlebars = require("./base");
+exports.attach = function(Handlebars) {
// BEGIN(BROWSER)
+
Handlebars.VM = {
template: function(templateSpec) {
// Just add water
@@ -66,3 +67,6 @@ Handlebars.template = Handlebars.VM.template;
// END(BROWSER)
+return Handlebars;
+
+};