Skip to content

Commit 021ec93

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: docs: fix typo Typo
2 parents 12f1ee8 + 9a03c91 commit 021ec93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/asset_mapper.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ When the browser downloads the page, this happens:
618618
3. It *then* sees the ``bootstrap`` import and downloads ``assets/bootstrap.js``.
619619

620620
Instead of downloading all 3 files in parallel, the browser is forced to
621-
download them one-by-one as it discovers them. This is hurts performance. To fix
621+
download them one-by-one as it discovers them. This hurts performance. To fix
622622
this, in ``importmap.php``, add a ``preload`` key to the ``app`` entry, which
623623
points to the ``assets/app.js`` file. Actually, this should already be
624624
done for you::
@@ -991,7 +991,7 @@ pages. To add a CSS file to a specific page, create the file, then add a
991991
{% endblock %}
992992

993993
For JavaScript, first create the new file (e.g. ``assets/checkout.js``). Then,
994-
add a ``script``` tag that imports it:
994+
add a ``script`` tag that imports it:
995995

996996
.. code-block:: html+twig
997997

0 commit comments

Comments
 (0)