Hi Jean-Charles

Tiddlers containing JavaScript macro modules should not be tagged
$:/tags/Macro. Can you share a wiki on tiddlyspot so that we can advise
better?

Best wishes

Jeremy.


On Thu, Jan 1, 2015 at 8:10 PM, Jean-Charles <[email protected]>
wrote:

>
>
> You would probably be creating a bit of javascript in a custom macro of
>> that kind...
>>
>> http://tb5.tiddlyspot.com/#Basic%20Javascript%20Macro
>>
>
> Thank you Thobias. Is this example up-to-date with the current TW5 (5.1.7)
> version ? I created several working non-js macros without trouble, but I
> fail to have a working one in javascript. Refering to your example, I :
>
>    1. create a $:/macros/example.js tiddler with your exact code sample
>    (with exports containing name, params, and run function)
>    2. tag it with $:/tags/Macro (and another custom tag of mine to
>    organize stuff)
>    3. set its *type* field to "application/javascript"
>    4. set its *module-type* to "macro"
>
> Is that the whole process or do I miss something here ?! Are Javascript
> macros different than usual macros regarding their creation and setup in
> tiddlers ?
>
> Thanks for your help,
> --
> Jean-Charles
>
> --
> 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.

Reply via email to