Skip to content

Commit bed8824

Browse files
frnejaviereguiluz
frne
authored andcommitted
Style / grammar fixes for the assetic chapter
1 parent 02b9968 commit bed8824

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

cookbook/assetic/asset_management.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ To include JavaScript files, use the ``javascripts`` tag in any template:
9191

9292
You can also include CSS stylesheets: see :ref:`cookbook-assetic-including-css`.
9393

94-
In this example, all of the files in the ``Resources/public/js/`` directory
95-
of the AppBundle will be loaded and served from a different location.
96-
The actual rendered tag might simply look like:
94+
In this example, all files in the ``Resources/public/js/`` directory of the
95+
AppBundle will be loaded and served from a different location. The actual
96+
rendered tag might simply look like:
9797

9898
.. code-block:: html
9999

@@ -357,7 +357,7 @@ Filters
357357
Once they're managed by Assetic, you can apply filters to your assets before
358358
they are served. This includes filters that compress the output of your assets
359359
for smaller file sizes (and better frontend optimization). Other filters
360-
can compile JavaScript file from CoffeeScript files and process SASS into CSS.
360+
can compile CoffeeScript files to JavaScript and process SASS into CSS.
361361
In fact, Assetic has a long list of available filters.
362362

363363
Many of the filters do not do the work directly, but use existing third-party

cookbook/assetic/jpeg_optimize.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
How to Use Assetic for Image Optimization with Twig Functions
55
=============================================================
66

7-
Amongst its many filters, Assetic has four filters which can be used for on-the-fly
7+
Among its many filters, Assetic has four filters which can be used for on-the-fly
88
image optimization. This allows you to get the benefits of smaller file sizes
99
without having to use an image editor to process each image. The results
1010
are cached and can be dumped for production so there is no performance hit
@@ -70,7 +70,7 @@ It can now be used from a template:
7070
Removing all EXIF Data
7171
~~~~~~~~~~~~~~~~~~~~~~
7272

73-
By default, the ``jpegoptim`` filter removes some of the meta information stored
73+
By default, the ``jpegoptim`` filter removes some meta information stored
7474
in the image. To remove all EXIF data and comments, set the ``strip_all`` option
7575
to ``true``:
7676

cookbook/assetic/yuicompressor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Download the YUI Compressor JAR
1818
-------------------------------
1919

2020
The YUI Compressor is written in Java and distributed as a JAR. `Download the JAR`_
21-
from the Yahoo! site and save it to ``app/Resources/java/yuicompressor.jar``.
21+
from the Yahoo! website and save it to ``app/Resources/java/yuicompressor.jar``.
2222

2323
Configure the YUI Filters
2424
-------------------------

0 commit comments

Comments
 (0)