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
161
161
name =" coffee"
162
162
bin =" /usr/bin/coffee"
163
163
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 >
166
167
</assetic : config >
167
168
</container >
168
169
@@ -172,10 +173,10 @@ In this case you can specify that the ``coffee`` filter is applied to all
172
173
$container->loadFromExtension('assetic', array(
173
174
'filters' => array(
174
175
'coffee' => array(
175
- 'bin' => '/usr/bin/coffee',
176
- 'node' => '/usr/bin/node',
176
+ 'bin' => '/usr/bin/coffee',
177
+ 'node' => '/usr/bin/node',
177
178
'node_paths' => array('/usr/lib/node_modules/'),
178
- 'apply_to' => '\.coffee$',
179
+ 'apply_to' => '\.coffee$',
179
180
),
180
181
),
181
182
));
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ to ``true``:
111
111
<assetic : filter
112
112
name =" jpegoptim"
113
113
bin =" path/to/jpegoptim"
114
- strip_all =" true" />
114
+ strip-all =" true" />
115
115
</assetic : config >
116
116
</container >
117
117
@@ -215,7 +215,7 @@ following configuration:
215
215
name =" jpegoptim"
216
216
bin =" path/to/jpegoptim" />
217
217
<assetic : twig >
218
- <assetic : twig_function
218
+ <assetic : function
219
219
name =" jpegoptim" />
220
220
</assetic : twig >
221
221
</assetic : config >
@@ -275,7 +275,7 @@ file:
275
275
name =" jpegoptim"
276
276
bin =" path/to/jpegoptim" />
277
277
<assetic : twig >
278
- <assetic : twig_function
278
+ <assetic : function
279
279
name =" jpegoptim"
280
280
output =" images/*.jpg" />
281
281
</assetic : twig >
You can’t perform that action at this time.
0 commit comments