Use ENV.FORCE_JQUERY when building for production
This commit is contained in:
parent
f64d488973
commit
ce307264c4
|
@ -15,11 +15,15 @@ console.log = console.info = console.warn = console.error = function(){};
|
||||||
var jQuery = function() { return jQuery; };
|
var jQuery = function() { return jQuery; };
|
||||||
jQuery.ready = function() { return jQuery; };
|
jQuery.ready = function() { return jQuery; };
|
||||||
jQuery.inArray = function() { return jQuery; };
|
jQuery.inArray = function() { return jQuery; };
|
||||||
jQuery.jquery = "1.7.1";
|
jQuery.jquery = "1.7.2";
|
||||||
jQuery.event = { fixHooks: {} };
|
jQuery.event = { fixHooks: {} };
|
||||||
var $ = jQuery;
|
var $ = jQuery;
|
||||||
window.jQuery = $;
|
window.jQuery = $;
|
||||||
|
|
||||||
|
ENV = {};
|
||||||
|
window.ENV = ENV;
|
||||||
|
ENV.FORCE_JQUERY = true;
|
||||||
|
|
||||||
// Ember
|
// Ember
|
||||||
function compileHandlebarsTemplate(source) {
|
function compileHandlebarsTemplate(source) {
|
||||||
return Ember.Handlebars.precompile(source).toString();
|
return Ember.Handlebars.precompile(source).toString();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user