Glad to hear it!

The navigation plugin you made seems cool, is it going to be posted
anywhere? :)

MaxGyver <[email protected]> schrieb am Mo., 28. Okt. 2019,
20:11:

> Thanks Sylvain, thanks Miha!
>
> This works perfectly!
>
> For other readers: I added everything Miha posted (which includes
> Sylvain's special declarations).
>
> Best regards
> Max
>
>
> Am Montag, 28. Oktober 2019 07:13:41 UTC+1 schrieb Miha Lunar:
>>
>> It should work with .js and .js.meta files. Try using the startup module
>> type and structuring your code like this:
>>
>> (function () {
>>
>> /*jslint node: false, browser: true */
>> /*global $tw: false */
>> "use strict";
>>
>> exports.name = "mypluginname"; exports.after = ["rootwidget"];
>>
>> exports.startup = function () {
>> ... Your startup code here...
>> }
>>
>> })();
>>
>> Using the .after will make tiddlywiki delay your startup until the
>> specified dependencies have been initialized. Not sure if you need to wait
>> for the root widget, but you can try that and back off to an earlier point
>> if needed.
>>
>> There should be some more info about this scattered around tiddlywiki.com
>> and tiddlywiki.com/dev :)
>>
>> Hope it helps.
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/pjqXOaHGw1w/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/5737107c-27f2-45b2-ac7a-24a2905fd147%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/5737107c-27f2-45b2-ac7a-24a2905fd147%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CABAmXk3eJUgyZJHPpjN%3DrAngFpB7Ep8pExkjMs8AtWi%3DQT%3DTPg%40mail.gmail.com.

Reply via email to