Skip to content

Commit 5a9da4e

Browse files
committed
Remove meta name='turbo-visit-control' content='reload'
1 parent c433596 commit 5a9da4e

File tree

16 files changed

+1
-50
lines changed

16 files changed

+1
-50
lines changed

app/views/admin/dashboard/show.html.slim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, the global variable `vis` might be uninitialized in the assets (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_javascript_pack_tag('vis')
63
- append_stylesheet_pack_tag('vis')
74

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, code might not be highlighted correctly (race condition)
4-
meta name='turbo-visit-control' content='reload'
5-
61
== render 'form'

app/views/execution_environments/_form.html.slim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, code might not be highlighted correctly (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_javascript_pack_tag('toast-ui')
63
- append_stylesheet_pack_tag('toast-ui')
74

app/views/exercises/_form.html.slim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, code might not be highlighted correctly (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_stylesheet_pack_tag("multilang_#{I18n.locale}")
63
- append_javascript_pack_tag('sortable')
74
- append_javascript_pack_tag('toast-ui')

app/views/exercises/_tips_content.html.slim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, code might not be highlighted correctly (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_javascript_pack_tag('highlight')
63
- append_stylesheet_pack_tag('highlight')
74
- append_stylesheet_pack_tag("multilang_#{I18n.locale}")

app/views/exercises/show.html.slim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, code might not be highlighted correctly (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_javascript_pack_tag('highlight')
63
- append_stylesheet_pack_tag('highlight')
74

app/views/exercises/statistics.html.slim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, code might not be highlighted correctly (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_javascript_pack_tag('d3-tip')
3+
64
h1 = @exercise
75

86
- statistic_base = policy_scope(Submission).where(exercise: @exercise).unscope(where: :cause)

app/views/exercises/study_group_dashboard.html.slim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, code might not be highlighted correctly (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_javascript_pack_tag('d3-tip')
63

74
h1

app/views/proxy_exercises/_form.html.slim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, code might not be highlighted correctly (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_javascript_pack_tag('toast-ui')
63
- append_stylesheet_pack_tag('toast-ui')
74

app/views/statistics/activity_history.html.slim

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- content_for :head do
2-
// Force a full page reload, see https://turbo.hotwired.dev/handbook/drive#ensuring-specific-pages-trigger-a-full-reload.
3-
Otherwise, the global variable `vis` might be uninitialized in the assets (race condition)
4-
meta name='turbo-visit-control' content='reload'
52
- append_javascript_pack_tag('vis')
63
- append_stylesheet_pack_tag('vis')
74

0 commit comments

Comments
 (0)