Skip to content

Commit af27e50

Browse files
Use unique identifiers in example snippet (#185)
Using the same identifier will result in overwriting. The last VH call would win (as described in the next paragraph of the documentation). Therefore, different identifiers should be used in the example to demonstrate the inclusion of files or inline scripts.
1 parent 689fad5 commit af27e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Global/Asset/Script.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Examples
1919
::
2020

2121
<f:asset.script identifier="identifier123" src="EXT:my_ext/Resources/Public/JavaScript/foo.js" />
22-
<f:asset.script identifier="identifier123">
22+
<f:asset.script identifier="identifier987">
2323
alert('hello world');
2424
</f:asset.script>
2525

0 commit comments

Comments
 (0)