Update Turbolinks, load additional assets only on request, fix JS

Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
This commit is contained in:
Sebastian Serth
2018-09-30 11:19:38 +02:00
parent a77a006e8d
commit 15b1670511
48 changed files with 566 additions and 82 deletions

View File

@ -5,6 +5,17 @@ Rails.application.config.tap do |config|
# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '1.0'
# vis.js
config.assets.precompile += %w( vis.min.js )
config.assets.precompile += %w( vis.min.css )
# Highlight.js
config.assets.precompile += %w( highlight.min.js )
config.assets.precompile += %w( highlight-default.min.css )
# d3.tip
config.assets.precompile += %w( d3-tip.js )
# Add additional assets to the asset load path.
# config.assets.paths << Emoji.images_path
# Add Yarn node_modules folder to the asset load path.