@@ -34,7 +34,7 @@ To install the AssetMapper component, run:
3434
3535 $ composer require symfony/asset-mapper symfony/asset symfony/twig-pack
3636
37- In addition to ``symfony/asset-mapper`, this also makes sure that you have the
37+ In addition to ``symfony/asset-mapper `` , this also makes sure that you have the
3838:doc: `Asset Component </components/asset >` and Twig available.
3939
4040If you're using :ref: `Symfony Flex <symfony-flex >`, you're done! The recipe just
@@ -267,9 +267,9 @@ outputs an `importmap`_:
267267 }
268268 } </script >
269269
270- Importmaps is a native browser feature. It works in all browsers thanks to
270+ Import maps are a native browser feature. They work in all browsers thanks to
271271a "shim" file that's included automatically by the AssetMapper component
272- (all *modern * browsers `support it natively <https://caniuse.com/import-maps >`_).
272+ (all *modern * browsers `support them natively <https://caniuse.com/import-maps >`_).
273273
274274When you import ``bootstrap `` from your JavaScript, the browser will look at
275275the ``importmap `` and see that it should fetch the package from the URL.
@@ -289,7 +289,7 @@ Preloading and Initializing "app.js"
289289~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290290
291291In addition to the importmap, the ``{{ importmap() }} `` Twig function also renders
292- an `es module shim `_ and a few other things, like a set of "preloads":
292+ an `ES module shim `_ and a few other things, like a set of "preloads":
293293
294294.. code-block :: html
295295
@@ -1127,7 +1127,7 @@ This will force the AssetMapper component to re-calculate the content of all fil
11271127.. _npm package : https://www.npmjs.com
11281128.. _importmap : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap
11291129.. _bootstrap : https://www.npmjs.com/package/bootstrap
1130- .. _ es module shim : https://www.npmjs.com/package/es-module-shims
1130+ .. _ ES module shim : https://www.npmjs.com/package/es-module-shims
11311131.. _jsdelivr.com : https://www.jsdelivr.com/
11321132.. _highlight.js : https://www.npmjs.com/package/highlight.js
11331133.. _class syntax : https://caniuse.com/es6-class
0 commit comments