Skip to content

Some punctuation not properly placed #10493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions frontend/encore/simple-example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ your layout. In Symfony, use the ``asset()`` helper:
Requiring JavaScript Modules
----------------------------

Webpack is a module bundler... which means that you can ``require`` other JavaScript
Webpack is a module bundler, which means that you can ``require`` other JavaScript
files. First, create a file that exports a function:

.. code-block:: javascript
Expand Down Expand Up @@ -139,9 +139,9 @@ The import and export Statements

Instead of using ``require`` and ``module.exports`` like shown above, JavaScript
has an alternate syntax, which is a more accepted standard. Choose whichever you
want: they function identically:
want, they function identically.

To export values, use ``exports``:
To export values using the alternate syntax, use ``exports``:

.. code-block:: diff

Expand All @@ -168,7 +168,7 @@ Page-Specific JavaScript or CSS (Multiple Entries)
--------------------------------------------------

So far, you only have one final JavaScript file: ``app.js``. For simple apps or
SPA's (Single Page Applications), that might be fine! However, as your app grows,
SPAs (Single Page Applications), that might be fine! However, as your app grows,
you may want to have page-specific JavaScript or CSS (e.g. homepage, blog, store,
etc.). To handle this, add a new "entry" for each page that needs custom JavaScript
or CSS:
Expand Down