zikula/core — pull request #2069 by craigh (2014-11-23 22:44:02+00:00)
Title: [WIP] create js file for faster inclusion in page over call to controller.

refs #1790

- [x] service to invoke console command to write file
- [x] controller to manually invoke service
- [x] invoke service when reloading routes from php
- [x] invoke service on listeners
- [x] module remove
- [ ] module upgrade (present but not tested)
- [ ] module install (present but **not functioning**)
- [x] modify JCSSUtil to load the static file if available

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| Refs tickets | #1790
| License | MIT
| Doc PR | -

@Guite @cmfcmf

For some reason, the dump fails to pull in the new routes when a module is installed and so simply rewrites the same values. If one later goes in and manually re-dumps the file, it properly loads the exposed js routes for the newly installed module. I need some ideas on how to fix that.