Hi Danielo, tiddlywiki constructs some of its software by synthesis in the startup modules (by $tw.modules.forEachModuleOfType() for instance) so in general, what you are suggesting will not work as modules need to be added before start modules are run.
all the best BJ On Friday, September 2, 2016 at 12:46:30 AM UTC+1, Danielo Rodríguez wrote: > > Hello, > > 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. > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikidev+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywikidev@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/888feca4-66fc-4716-8070-ee43e8ab3901%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.