summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/utils.js
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-12-04 17:35:36 -0500
committerwycats <wycats@gmail.com>2010-12-04 17:35:36 -0500
commit4db1abcd742e2044a0c745692fe90dfe71e6c74d (patch)
tree4476b0d861f7524938581441b9c1864108ec4ab2 /lib/handlebars/utils.js
parentf205cec745ab1e4921abf7a7006d612aa0eb763d (diff)
downloadhandlebars.js-4db1abcd742e2044a0c745692fe90dfe71e6c74d.zip
handlebars.js-4db1abcd742e2044a0c745692fe90dfe71e6c74d.tar.gz
handlebars.js-4db1abcd742e2044a0c745692fe90dfe71e6c74d.tar.bz2
Fix up the compilation process
Diffstat (limited to 'lib/handlebars/utils.js')
-rw-r--r--lib/handlebars/utils.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/handlebars/utils.js b/lib/handlebars/utils.js
index 1501d56..654b317 100644
--- a/lib/handlebars/utils.js
+++ b/lib/handlebars/utils.js
@@ -1,7 +1,6 @@
-if(exports) {
- var Handlebars = {};
-}
+var Handlebars = {};
+// BEGIN(BROWSER)
Handlebars.Exception = function(message) {
this.message = message;
};
@@ -59,9 +58,8 @@ Handlebars.Utils = {
}
}
}
+// END(BROWSER)
-if(exports) {
- exports.Utils = Handlebars.Utils;
- exports.SafeString = Handlebars.SafeString;
- exports.Exception = Handlebars.Exception;
-}
+exports.Utils = Handlebars.Utils;
+exports.SafeString = Handlebars.SafeString;
+exports.Exception = Handlebars.Exception;