Permalink
Browse files

Stub event property of fake jQuery

Without this line, when compiling the default, dummy handlebars template against ember HEAD I get the error: Cannot read property 'fixHooks' of undefined. It appears that this asset step requires those properties to be set.
  • Loading branch information...
MichaelXavier committed Jul 11, 2012
1 parent 7d0185b commit d5971d420dc4661a71e5331afc827a81e843c20f
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/ember/handlebars/assets/ember-precompiler.js
@@ -18,6 +18,7 @@ var jQuery = window.jQuery = function() { return jQuery; };
jQuery.ready = function() { return jQuery; };
jQuery.inArray = function() { return jQuery; };
jQuery.jquery = "1.7.2";
+jQuery.event = {fixHooks: {}};
// Precompiler
var EmberRails = {

0 comments on commit d5971d4

Please sign in to comment.