2018-04-10 17:25:46 +02:00
|
|
|
# Be sure to restart your server when you modify this file.
|
|
|
|
|
|
|
|
# Version of your assets, change this if you want to expire all your assets.
|
|
|
|
Rails.application.config.assets.version = '1.0'
|
|
|
|
|
2018-04-16 19:36:16 +02:00
|
|
|
Rails.application.config.opal.method_missing = true
|
|
|
|
Rails.application.config.opal.optimized_operators = true
|
|
|
|
Rails.application.config.opal.arity_check = !Rails.env.production?
|
|
|
|
Rails.application.config.opal.const_missing = true
|
|
|
|
Rails.application.config.opal.dynamic_require_severity = :ignore
|
2018-04-10 17:25:46 +02:00
|
|
|
|
|
|
|
# Precompile additional assets.
|
|
|
|
# application.js, application.css, and all non-JS/CSS in the app/assets
|
|
|
|
# folder are already added.
|
2018-04-16 19:36:16 +02:00
|
|
|
Rails.application.config.assets.precompile += %w( debug.js debug.css)
|
|
|
|
|
|
|
|
Rails.application.config.assets.paths << "#{Gem.loaded_specs["rubyx-debugger"].gem_dir}/assets/"
|
|
|
|
Rails.application.config.assets.paths << "#{Gem.loaded_specs["rubyx-debugger"].gem_dir}/lib/"
|