@@ -28,11 +28,12 @@ respectively to ``/usr/bin/coffee``, ``/usr/bin/node`` and ``/usr/lib/node_modul
28
28
29
29
<!-- app/config/config.xml -->
30
30
<assetic : config >
31
- <assetic : filter
31
+ <assetic : filter
32
32
name =" coffee"
33
- bin =" /usr/bin/coffee"
34
- node =" /usr/bin/node"
35
- node_paths =" /usr/lib/node_modules/" />
33
+ bin =" /usr/bin/coffee/"
34
+ node =" /usr/bin/node/" >
35
+ <assetic : node-paths >/usr/lib/node_modules/</assetic : node-path >
36
+ </assetic : filter >
36
37
</assetic : config >
37
38
38
39
.. code-block :: php
@@ -43,7 +44,7 @@ respectively to ``/usr/bin/coffee``, ``/usr/bin/node`` and ``/usr/lib/node_modul
43
44
'coffee' => array(
44
45
'bin' => '/usr/bin/coffee',
45
46
'node' => '/usr/bin/node',
46
- 'node_paths' => '/usr/lib/node_modules/',
47
+ 'node_paths' => array( '/usr/lib/node_modules/') ,
47
48
),
48
49
),
49
50
));
@@ -142,10 +143,10 @@ applied to all ``.coffee`` files:
142
143
name =" coffee"
143
144
bin =" /usr/bin/coffee"
144
145
node =" /usr/bin/node"
145
- node_paths =" /usr/lib/node_modules/"
146
146
apply_to =" \.coffee$" />
147
+ <assetic : node-paths >/usr/lib/node_modules/</assetic : node-path >
147
148
</assetic : config >
148
-
149
+
149
150
.. code-block :: php
150
151
151
152
// app/config/config.php
@@ -154,7 +155,7 @@ applied to all ``.coffee`` files:
154
155
'coffee' => array(
155
156
'bin' => '/usr/bin/coffee',
156
157
'node' => '/usr/bin/node',
157
- 'node_paths' => '/usr/lib/node_modules/',
158
+ 'node_paths' => array( '/usr/lib/node_modules/') ,
158
159
'apply_to' => '\.coffee$',
159
160
),
160
161
),
0 commit comments