Skip to content

Commit 80788f7

Browse files
committed
minor #2599 fix missing }, reformat so it's visible (tacman)
This PR was merged into the 2.x branch. Discussion ---------- fix missing }, reformat so it's visible ```twig <div {{ stimulus_controller('chart', { 'name': 'Likes', 'data': [1, 2, 3, 4] }, { 'loading': 'spinner' }, { 'other': '.target' } ) }}> ``` Currently, the 'outlet' part is cut off: ![image](https://github.com/user-attachments/assets/f52b4b61-87b7-417d-9445-353798b23c1b) Commits ------- 62ab378 fix missing }, reformat so it's visible
2 parents 32224c4 + 62ab378 commit 80788f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/StimulusBundle/doc/index.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,10 @@ And with outlets:
240240

241241
.. code-block:: html+twig
242242

243-
<div {{ stimulus_controller('chart', { 'name': 'Likes', 'data': [1, 2, 3, 4] }, { 'loading': 'spinner' }, { 'other': '.target' ) }}>
243+
<div {{ stimulus_controller('chart',
244+
{ 'name': 'Likes', 'data': [1, 2, 3, 4] },
245+
{ 'loading': 'spinner' },
246+
{ 'other': '.target' } ) }}>
244247
Hello
245248
</div>
246249

0 commit comments

Comments
 (0)