Skip to content
Browse files

Fix "Ember requires jQuery 1.6 or 1.7" during precompilation

  • Loading branch information...
1 parent ddf5a5b commit 2d29490984cd14bab58c1aac75347b0ae9f05cf9 @rykov rykov committed Feb 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/assets/javascripts/ember-precompiler.js
View
2 vendor/assets/javascripts/ember-precompiler.js
@@ -12,7 +12,7 @@ var console = window.console = {};
console.log = console.info = console.warn = console.error = function(){};
// jQuery
-var jQuery = function() { return jQuery; };
+var jQuery = window.jQuery = function() { return jQuery; };
jQuery.ready = function() { return jQuery; };
jQuery.inArray = function() { return jQuery; };
jQuery.jquery = "1.7.1";

0 comments on commit 2d29490

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