Add screw_ie8 setting

This commit is contained in:
Robin Ward 2014-10-15 16:28:06 -04:00
parent 0a14d80f4a
commit bc01589ea5

View file

@ -13,7 +13,7 @@ Discourse::Application.configure do
config.serve_static_assets = GlobalSetting.serve_static_assets
if defined?(Uglifier)
config.assets.js_compressor = Uglifier.new(output: {max_line_len: 1024})
config.assets.js_compressor = Uglifier.new(output: {max_line_len: 1024}, screw_ie8: false)
else
config.assets.js_compressor = :uglifier
end