Wrap base Handlebars in a closure to prevent var leakage - fixes #205

This commit is contained in:
Peter Wagenet
2012-05-04 15:27:50 -07:00
parent 98b3327c75
commit 2418feaf19
+4
View File
@@ -3,6 +3,8 @@
/*jshint eqnull:true*/
var Handlebars = {};
(function() {
Handlebars.VERSION = "1.0.beta.5";
Handlebars.helpers = {};
@@ -95,6 +97,8 @@ Handlebars.registerHelper('log', function(context) {
Handlebars.log(context);
});
}());
// END(BROWSER)
module.exports = Handlebars;