summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/runtime.js
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-12-29 18:21:43 -0800
committerwycats <wycats@gmail.com>2010-12-29 18:21:43 -0800
commitbf6c74aa83e6ce32da30b1602bcafc025306ba4d (patch)
treeda3788539e0f8168140542d58f6977eef5e706c2 /lib/handlebars/runtime.js
parent9e77799e87fbb85dcc6f6f19ebc57f9dcdfdcb6a (diff)
downloadhandlebars.js-bf6c74aa83e6ce32da30b1602bcafc025306ba4d.zip
handlebars.js-bf6c74aa83e6ce32da30b1602bcafc025306ba4d.tar.gz
handlebars.js-bf6c74aa83e6ce32da30b1602bcafc025306ba4d.tar.bz2
Restructure things more simply
Diffstat (limited to 'lib/handlebars/runtime.js')
-rw-r--r--lib/handlebars/runtime.js14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/handlebars/runtime.js b/lib/handlebars/runtime.js
index ae2a270..6fa7f40 100644
--- a/lib/handlebars/runtime.js
+++ b/lib/handlebars/runtime.js
@@ -2,17 +2,7 @@ var inspect = function(obj) {
require("sys").print(require("sys").inspect(obj) + "\n");
};
-var Handlebars = {};
-
-Handlebars.AST = require("handlebars/ast").AST;
-Handlebars.Visitor = require("handlebars/visitor").Visitor;
-Handlebars.PrintVisitor = require("handlebars/printer").PrintVisitor;
-Handlebars.Parser = require("handlebars/parser").parser;
-Handlebars.Runtime = require("handlebars/runtime").Runtime;
-Handlebars.Utils = require("handlebars/utils").Utils;
-Handlebars.SafeString = require("handlebars/utils").SafeString;
-Handlebars.Exception = require("handlebars/utils").Exception;
-Handlebars.parse = require("handlebars/compiler").Handlebars.parse;
+var Handlebars = require("handlebars");
// BEGIN(BROWSER)
// A Context wraps data, and makes it possible to extract a
@@ -275,5 +265,3 @@ Handlebars.Runtime.prototype = {
};
// END(BROWSER)
-exports.Runtime = Handlebars.Runtime;
-exports.Context = Handlebars.Context;