From 6fe451047cdda7fd737a9b85acee85fc35b15f2a Mon Sep 17 00:00:00 2001 From: Joe Robles Date: Thu, 27 Jun 2013 20:34:27 -0500 Subject: [PATCH] Updated for php array, pending review of xml --- cookbook/assetic/apply_to_option.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/cookbook/assetic/apply_to_option.rst b/cookbook/assetic/apply_to_option.rst index a1e93b70c6b..ab833cf4cdc 100644 --- a/cookbook/assetic/apply_to_option.rst +++ b/cookbook/assetic/apply_to_option.rst @@ -28,11 +28,12 @@ respectively to ``/usr/bin/coffee``, ``/usr/bin/node`` and ``/usr/lib/node_modul - + bin="/usr/bin/coffee/" + node="/usr/bin/node/"> + /usr/lib/node_modules/ + .. code-block:: php @@ -43,7 +44,7 @@ respectively to ``/usr/bin/coffee``, ``/usr/bin/node`` and ``/usr/lib/node_modul 'coffee' => array( 'bin' => '/usr/bin/coffee', 'node' => '/usr/bin/node', - 'node_paths' => '/usr/lib/node_modules/', + 'node_paths' => array('/usr/lib/node_modules/'), ), ), )); @@ -142,10 +143,10 @@ applied to all ``.coffee`` files: name="coffee" bin="/usr/bin/coffee" node="/usr/bin/node" - node_paths="/usr/lib/node_modules/" apply_to="\.coffee$" /> + /usr/lib/node_modules/ - + .. code-block:: php // app/config/config.php @@ -154,7 +155,7 @@ applied to all ``.coffee`` files: 'coffee' => array( 'bin' => '/usr/bin/coffee', 'node' => '/usr/bin/node', - 'node_paths' => '/usr/lib/node_modules/', + 'node_paths' => array('/usr/lib/node_modules/'), 'apply_to' => '\.coffee$', ), ),