Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 2418feaf19e428ec5eb746b56af0e052c6784930 1 parent 98b3327
@wagenet wagenet authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/handlebars/base.js
View
4 lib/handlebars/base.js
@@ -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;

1 comment on commit 2418fea

@stof

any reason that this wrapper is not in 1.0.beta6 whereas the code was mentioning the 1.0beta5 version at the time the commit as done ?

Please sign in to comment.
Something went wrong with that request. Please try again.