Skip to content

Commit 127cfe7

Browse files
committed
refactor: scriptTagOptions -> tagOptions
1 parent 187a5a9 commit 127cfe7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/templates/_layouts/transcoder-cp.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
{% block head %}
44
{{ parent() }}
5-
{% set scriptTagOptions = {
5+
{% set tagOptions = {
66
'depends': [
77
'nystudio107\\transcoder\\assetbundles\\transcoder\\TranscoderAsset'
88
],
99
} %}
10-
{{ craft.transcoder.register('/src/js/app.ts', false, scriptTagOptions) }}
10+
{{ craft.transcoder.register('/src/js/app.ts', false, tagOptions, tagOptions) }}
1111
{% endblock %}

src/templates/welcome.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
{% block head %}
1818
{{ parent() }}
19-
{% set scriptTagOptions = {
19+
{% set tagOptions = {
2020
'depends': [
2121
'nystudio107\\transcoder\\assetbundles\\transcoder\\TranscoderAsset'
2222
],
2323
} %}
24-
{{ craft.transcoder.register('/src/js/welcome.ts', false, scriptTagOptions) }}
24+
{{ craft.transcoder.register('/src/js/welcome.ts', false, tagOptions, tagOptions) }}
2525
{% endblock %}
2626

2727
{% block content %}

0 commit comments

Comments
 (0)