Use webpack to deliver newest d3-tip.js, highlight.js and vis.js
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Force a full page reload, see https://github.com/turbolinks/turbolinks/issues/326.
|
||||
Otherwise, code might not be highlighted correctly (race condition)
|
||||
meta name='turbolinks-visit-control' content='reload'
|
||||
= javascript_include_tag(asset_path('d3-tip.js', type: :javascript))
|
||||
= javascript_pack_tag('d3-tip', 'data-turbolinks-track': true)
|
||||
h1 = @exercise
|
||||
|
||||
= row(label: '.participants', value: @exercise.users.distinct.count)
|
||||
|
Reference in New Issue
Block a user