File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,9 @@ In this case you can specify that the ``coffee`` filter is applied to all
161161 name =" coffee"
162162 bin =" /usr/bin/coffee"
163163 node =" /usr/bin/node"
164- apply_to =" \.coffee$" />
165- <assetic : node-paths >/usr/lib/node_modules/</assetic : node-path >
164+ apply-to =" \.coffee$" />
165+ <assetic : node-path >/usr/lib/node_modules/</assetic : node-path >
166+ </assetic : filter >
166167 </assetic : config >
167168 </container >
168169
@@ -172,10 +173,10 @@ In this case you can specify that the ``coffee`` filter is applied to all
172173 $container->loadFromExtension('assetic', array(
173174 'filters' => array(
174175 'coffee' => array(
175- 'bin' => '/usr/bin/coffee',
176- 'node' => '/usr/bin/node',
176+ 'bin' => '/usr/bin/coffee',
177+ 'node' => '/usr/bin/node',
177178 'node_paths' => array('/usr/lib/node_modules/'),
178- 'apply_to' => '\.coffee$',
179+ 'apply_to' => '\.coffee$',
179180 ),
180181 ),
181182 ));
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ to ``true``:
111111 <assetic : filter
112112 name =" jpegoptim"
113113 bin =" path/to/jpegoptim"
114- strip_all =" true" />
114+ strip-all =" true" />
115115 </assetic : config >
116116 </container >
117117
@@ -215,7 +215,7 @@ following configuration:
215215 name =" jpegoptim"
216216 bin =" path/to/jpegoptim" />
217217 <assetic : twig >
218- <assetic : twig_function
218+ <assetic : function
219219 name =" jpegoptim" />
220220 </assetic : twig >
221221 </assetic : config >
@@ -275,7 +275,7 @@ file:
275275 name =" jpegoptim"
276276 bin =" path/to/jpegoptim" />
277277 <assetic : twig >
278- <assetic : twig_function
278+ <assetic : function
279279 name =" jpegoptim"
280280 output =" images/*.jpg" />
281281 </assetic : twig >
You can’t perform that action at this time.
0 commit comments