Thanks BJ, that in fact works. I also found the error & the macro outputs the same stuff it used to. Mind you, it used to come out as a table, and now it comes out as a bunch of vertical lines, so something's a little odd, but I guess that's a different question.
On Monday, 20 February 2017 19:05:11 UTC+11, BJ wrote: > > > that should be module-type > > On Monday, February 20, 2017 at 2:07:40 AM UTC+1, tejjyid wrote: >> >> Thanks very much. >> >> Can I update the online documentation of Javascript macros? Because I >> think it can be made more clear for the inexperienced. >> >> On Sunday, 19 February 2017 21:12:00 UTC+11, BJ wrote: >>> >>> if you remove the "using strict" from you macro, and add the field >>> "modules-type" with value "macro", save and reload, then your macro works. >>> >>> BJ >>> >>> On Sunday, February 19, 2017 at 10:21:10 AM UTC+1, tejjyid wrote: >>>> >>>> Ahh... OK, this should be better. >>>> https://www.dropbox.com/s/fk28f37vlj5gqjp/bridgethunk5.html?dl=0 >>>> >>>> Appreciate it. >>>> >>>> On Sunday, 19 February 2017 07:19:20 UTC+11, BJ wrote: >>>>> >>>>> >>>>> bridgeHand.test - I dont see this - only your twc tiddlywiki >>>>> >>>>> >>>>> On Saturday, February 18, 2017 at 9:03:41 PM UTC+1, tejjyid wrote: >>>>>> >>>>>> I see. How can i identify that necessity in a given TWC macro? >>>>> >>>>> >>>>> macros should not modifly tiddlers or the dom, only return wikitext >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4ed1fda0-fcc8-479b-8c95-5ff6292b7168%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

