Permalink
Browse files

horrible monkey patch to fix building handlebars

  • Loading branch information...
1 parent 7f6a1ef commit 243629f31002897f8055b0344dfaeba5dcbfedfd @jergason committed Feb 20, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 package.json
  2. +2 −2 packages/handlebars.js
View
@@ -10,7 +10,7 @@
"commander": "1.1.1",
"cli-color": "0.2.1",
"walk": "2.2.1",
- "handlebars": "1.0.8",
+ "handlebars": "1.0.9",
"jsdom": "0.3.4",
"fleck": "0.5.1",
"rsvp-that-works": "*",
@@ -25,7 +25,7 @@ THE SOFTWARE.
// lib/handlebars/base.js
/*jshint eqnull:true*/
-this.Handlebars = {};
+window.Handlebars = {};
(function(Handlebars) {
@@ -170,7 +170,7 @@ Handlebars.registerHelper('log', function(context, options) {
Handlebars.log(level, context);
});
-}(this.Handlebars));
+}(Handlebars));
;
// lib/handlebars/compiler/parser.js
/* Jison generated parser */

0 comments on commit 243629f

Please sign in to comment.