correct production mode due to ember loading changes

This commit is contained in:
Sam 2015-11-25 13:57:10 +11:00
parent c2a9b4aa18
commit 0844350308
2 changed files with 2 additions and 6 deletions

View File

@ -69,7 +69,7 @@ module Discourse
path =~ /assets\/images/ && !%w(.js .css).include?(File.extname(filename))
end]
config.assets.precompile += ['vendor.js', 'common.css', 'desktop.css', 'mobile.css', 'admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js', 'browser-update.js', 'embed.css', 'break_string.js']
config.assets.precompile += ['vendor.js', 'common.css', 'desktop.css', 'mobile.css', 'admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js', 'browser-update.js', 'embed.css', 'break_string.js', 'ember_jquery.js']
# Precompile all defer
Dir.glob("#{config.root}/app/assets/javascripts/defer/*.js").each do |file|

View File

@ -1,17 +1,13 @@
/*global document, sinon, QUnit, Logster */
//= require env
//= require ../../app/assets/javascripts/preload_store
// probe framework first
//= require probes
// Externals we need to load first
//= require jquery.debug
//= require jquery.ui.widget
//= require handlebars
//= require ember.debug
//= require ember-template-compiler
//= require message-bus
//= require ember-qunit
//= require fake_xml_http_request