aboutsummaryrefslogtreecommitdiffstats
path: root/js/vapi-messaging.js
Commit message (Collapse)AuthorAgeFilesLines
* Make components and services globalAlessio Vanni2019-07-041-2/+0
| | | | | Given that they are used a lot, at least in vAPI, let's just define/import them only once.
* Change how modules are importedAlessio Vanni2019-07-041-3/+2
| | | | | | | | I can't really find a reason why the returned value is preferred over the normal importing process. Additionally, there's a good chance importing Services.jsm can be done only once at the start of everything, instead of binding each object to a separate closure.
* Remove some commentsAlessio Vanni2019-06-231-4/+0
| | | | | | While they are technically informative, the splitting makes things easier to follow already (somewhat) and there's not really a need to list each global variable (there aren't many anyway.)
* Make CallbackWrapper a moduleAlessio Vanni2019-06-231-0/+2
| | | | | | In theory this way it can be used anywhere else if needed, but right now it's simply because it has to be placed somewhere and a module seems the best place for an object definition (constructor, etc.)
* Make messaging its own fileAlessio Vanni2019-06-231-0/+144
Also reorganize the Makefile a bit.