Fix loading under node

This commit is contained in:
kpdecker
2012-07-23 13:48:27 -05:00
parent eb509a4b8b
commit fc99d90337
+3 -3
View File
@@ -3,7 +3,7 @@
/*jshint eqnull:true*/
this.Handlebars = {};
(function() {
(function(Handlebars) {
Handlebars.VERSION = "1.0.rc.1";
@@ -111,9 +111,9 @@ Handlebars.registerHelper('log', function(context) {
Handlebars.log(context);
});
}());
}(this.Handlebars));
// END(BROWSER)
module.exports = Handlebars;
module.exports = this.Handlebars;