Hi Tobias Sorry to say, but when I see this syntax I so miss TWc and plain JavaScript. >
JavaScript hasn't gone away in TW5. The TW5 core doesn't support inline JavaScript within wikitext for security reasons. Bear in mind that when running under Node.js JS code usually has the same security rights that you do. It wouldn't be acceptable for me to be able to import a tiddler that deletes all my files when rendered under the Node.js edition. JavaScript modules are not particularly complex in TW5 - have a look at the JS macros in the core, for a simple example. > Not trying to judge anyone or anything... syntactically, this feels > horrible and I don't even know where to start looking in the TW5 textbook. > The docs needs work. More to the point, complex things are complex. The example you quoted to Matabele above is an attempt to build a fairly complex little UI gadget and would be non-trivial in either JS or wikitext. > > Best wishes, Tobias. > > -- > 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 http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- 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 http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

