Hi Yoann
> But I would like *not* to have hard coded dependency from pendulum module > inside MyCanvas ... > I would like to keep it generic, what ever the order modules draw inside. > The best way to do that is create a new widget type, called something like "babel-canvas", and then use a technique similar to the way that the story view modules are handled by the list widget: https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/list.js#L23 Best wishes Jeremy > > So, is there a way to get rid of : > > var myFunctions = { > pendulum: require("$:/pendulum.js"). > }; > ??? > > -- > 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.
