Added jsFileForModule

Paul-Vincent Roll 2016-02-06 20:52:29 +01:00
parent 3ec4e33e62
commit b6e7da0841

@ -34,11 +34,12 @@ Every module in the module folder should contain the module.js file defining a c
`function cssFileForModule() { ... }` - This returns an array of urls to a css files needed by the module.
Any helper scrips (php) should be in the module folder, and should not affect any other module or the main system. There should be a way to start scripts (python, node etc.) as daemons. Maybe some kind of API to send data back to the modules should be implemented.
`function jsFileForModule() { ... }` - This returns an array of urls to js files needed by the module.
Any helper scrips (php) should be in the module folder, and should not affect any other module or the main system. There should be a way to start scripts (python, node etc.) as daemons. Maybe some kind of API to send data back to the modules should be implemented (socket.io & UNIX sockets).
***
_... please edit with your suggestions ...._