Hello Jeremy, No I'm not. Does the startup module receive a callback? What does that callback expect? I removed the asynchronous from the "utils" module and the problem is gone. Anyway, I want to know more about asynchronous startup modules to do things the right way. I looked into tw/dev but I miss some information. I feel like there were more information available before.
El viernes, 29 de mayo de 2015, 19:33:44 (UTC+2), Jeremy Ruston escribió: > > Hi Danielo > > Are you invoking the callback at the end of your asynchronous startup? > > Best wishes > > Jeremy > > — > [email protected] <javascript:> > > > On Fri, May 29, 2015 at 6:28 PM, Danielo Rodríguez <[email protected] > <javascript:>> wrote: > >> Hello, >> >> I'm experiencing a weird behavior that took me some time to figure out. >> >> The problem as follows: >> I had two startup modules. Then I added a third module and one of the >> other two modules stopped working suddenly. I ca'nt figure why, but maybe >> is because I am not setting the order properly? Here is how they are >> configured: >> >> // Export name and synchronous status >> exports.name = "pouchdb-sycer"; >> exports.after = ["pouchdb"]; >> exports.platforms = ["browser"]; >> exports.synchronous = false; >> >> >> >> // Export name and synchronous status >> exports.name = "pouchdb"; >> exports.before = ["startup"]; >> exports.platforms = ["browser"]; >> exports.synchronous = true; >> >> >> >> This below is the problematic one >> >> >> exports.name = "pouchdb-utils"; >> exports.after = ["pouchdb"]; >> exports.before = ["pouchdb-sycer"]; >> exports.platforms = ["browser"]; >> exports.synchronous = false; >> >> Could be because two of them are asynchronous? >> >> Thanks for any help >> >> -- >> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/tiddlywikidev. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywikidev/f9f32162-6c06-4348-b3e1-d9948cb6b560%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywikidev/f9f32162-6c06-4348-b3e1-d9948cb6b560%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/03d21298-9a03-456e-add7-7d796f137a61%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
