Hi Danielo Have you seen this?
https://gist.github.com/judell/9744381 regards On Monday, May 25, 2015 at 8:59:44 AM UTC+2, Danielo Rodríguez wrote: > > Hello everyone, > > As usual, I want to create a new plugin, but I have some lack of knowledge > at certain areas. This one is about where is the best place to instantiate > the database object that has to be used. As you probably know, pouchdb is a > javascript database you can talk to, but you have to do it through an > object. Where is the best place to instantiate that object? Note that you > only have to create it once, and talk to it on subsequent save/load > operations. I though about creating it in the part of the adapter where it > is instantiated, but I'm not sure about this. > > Thanks for any hint. > -- 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/d148e32d-205e-42b9-91a1-36ac7569b28c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
