Update 04_Preview.md

Fix the yaml example
This commit is contained in:
Nick 2015-02-04 22:15:49 +13:00
parent 7923b88652
commit 9303912b7f

View File

@ -72,9 +72,9 @@ Load the file in the CMS via setting adding 'mysite/javascript/MyLeftAndMain.Pre
to the `LeftAndMain.extra_requirements_javascript` [configuration value](/topics/configuration) to the `LeftAndMain.extra_requirements_javascript` [configuration value](/topics/configuration)
:::yml :::yml
LeftAndMain LeftAndMain:
extra_requirements_javascript: extra_requirements_javascript:
- mysite/javascript/MyLeftAndMain.Preview.js: - mysite/javascript/MyLeftAndMain.Preview.js
In order to find out which configuration values are available, the source code In order to find out which configuration values are available, the source code
is your best reference at the moment - have a look in `framework/admin/javascript/LeftAndMain.Preview.js`. is your best reference at the moment - have a look in `framework/admin/javascript/LeftAndMain.Preview.js`.