I have a startup module that should register some module types. It runs before the startup module load-modules, so what it does is:
- Loads the required tiddlers
- Add those tiddlers to the store
- calls $tw.wiki.defineTiddlerModules() to register those modules
- Lets load-modules do its work
I was wondering if there is any ugly side effect because executing $tw.wiki.defineTiddlerModules() twice, once on boot and another after my startup module has been executed.
Taking a look at the function seems that it takes care of not registering plugins twice, but I'm not sure if something escapes to my eyes.
Regards.