Skip to content

Commit 4588313

Browse files
author
frne
committed
Style / grammar fixes for the assetic chapter
1 parent 9b4d747 commit 4588313

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cookbook/assetic/asset_management.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ 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
94+
In this example, all the files in the ``Resources/public/js/`` directory
9595
of the ``AcmeFooBundle`` will be loaded and served from a different location.
9696
The actual rendered tag might simply look like:
9797

@@ -351,7 +351,7 @@ Filters
351351
Once they're managed by Assetic, you can apply filters to your assets before
352352
they are served. This includes filters that compress the output of your assets
353353
for smaller file sizes (and better front-end optimization). Other filters
354-
can compile JavaScript file from CoffeeScript files and process SASS into CSS.
354+
can compile CoffeeScript files to JavaScript and process SASS into CSS.
355355
In fact, Assetic has a long list of available filters.
356356

357357
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
@@ -74,7 +74,7 @@ It can now be used from a template:
7474
Removing all EXIF Data
7575
~~~~~~~~~~~~~~~~~~~~~~
7676

77-
By default, running this filter only removes some of the meta information
77+
By default, running this filter only removes some meta information
7878
stored in the file. Any EXIF data and comments are not removed, but you can
7979
remove these by using the ``strip_all`` option:
8080

cookbook/assetic/yuicompressor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Download the YUI Compressor JAR
2222
-------------------------------
2323

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

2727
Configure the YUI Filters
2828
-------------------------

0 commit comments

Comments
 (0)