Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Stub event property of fake jQuery #75

Merged
merged 1 commit into from

2 participants

@MichaelXavier

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.

@MichaelXavier MichaelXavier 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.
d5971d4
@tchak tchak merged commit 04c1738 into emberjs:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 11, 2012
  1. @MichaelXavier

    Stub event property of fake jQuery

    MichaelXavier authored
    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.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/ember/handlebars/assets/ember-precompiler.js
View
1  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 = {
Something went wrong with that request. Please try again.