It's hard to tell without seeing more of your code, but I think I'd still advise using the 'module-type' field. It is designed for the purpose of identifying different types of module, and the mechanism stays out of the users way. Have a look at the "Internals" tab of the control panel; if you use "module-type" then your modules will be listed clearly together.
Best wishes Jeremy On Fri, Nov 15, 2013 at 4:07 PM, Yoann Babel <[email protected]> wrote: > Thanks Jeremy. > > I don't know if it's the best way but I choosed to add "canvas" tag to the > modules I wanted to auto import in my "MyCanvas.js" ... > > var myFunctions = { }; > > MyCanvasWidget.prototype.getTiddlerList = function() { > return > this.wiki.filterTiddlers("[tag[canvas]]",this.getVariable("currentTiddler")); > }; > > > -- > 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. > For more options, visit https://groups.google.com/groups/opt_out. > -- Jeremy Ruston mailto:[email protected] -- 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. For more options, visit https://groups.google.com/groups/opt_out.
