temporarily add back compiler while figuring out a better system

This commit is contained in:
Sam 2015-11-25 15:11:57 +11:00
parent d41a8a21cc
commit d6c925600f
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ if Rails.env.development? || Rails.env.test?
require_asset ("ember-template-compiler.js")
require_asset ("ember.debug.js")
else
require_asset ("ember-template-compiler.js")
require_asset ("ember.prod.js")
end
%>

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', 'ember_jquery.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', 'ember-template-compiler.js']
# Precompile all defer
Dir.glob("#{config.root}/app/assets/javascripts/defer/*.js").each do |file|