1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/red
David 62b29ecb65 Make theme able to load custom javascript (#1211)
* Make theme able to load custom javascript
- Look for the field 'customScript' in editorTheme (settings.js)
- Add it to mustach context
- Load list on template side (index.mst)

* Add unit tests for customScripts

* Code review edits : generic behavior for theme.page.[css|scripts]
- Use the same way to share css and javascript files from a theme
- Allow string instead of array for theme.page.scripts
- Remove old customScript field
2017-04-10 15:46:44 +01:00
..
api Make theme able to load custom javascript (#1211) 2017-04-10 15:46:44 +01:00
runtime Merge branch 'master' into 0.17 2017-04-10 15:45:21 +01:00
red.js Change hard error to verbose warning if using old node.js level 2017-01-14 23:57:39 +00:00