[twdev] Re: [TW5] Plugin does not listen to changes

2014-10-24 Thread Felix Küppers
, so you can created a tiddler containing your widget(s) and tag it so that it will be included in the widget tree. You might also look at the edit-bitmap widget - it uses canvas Cheers BJ On Thursday, October 23, 2014 1:35:46 PM UTC+1, Felix Küppers wrote: Sorry, I didn't notice your

[twdev] Re: [TW5] Plugin does not listen to changes

2014-10-23 Thread Felix Küppers
, October 22, 2014 8:33:24 PM UTC+1, Felix Küppers wrote: Hi, *Short Introduction:* My goal is to create a plugin that visualizes certain tiddlers via vis.js on a canvas and update the canvas everytime a tiddler is saved or deleted. Hence, I need to subscribe to save-tiddler and delete

[twdev] Re: [TW5] Plugin does not listen to changes

2014-10-23 Thread Felix Küppers
Hi TheDiveO, Well to put it shortly: My Plugin should insert a canvas into the dom automatically at startup and then register listeners for save and delete events of tiddlers (maybe some other events too). Tiddlers that possess a certain tag are drawn onto the canvas at startup. Everytime

[twdev] Re: [TW5] Plugin does not listen to changes

2014-10-23 Thread Felix Küppers
Hi TheDiveO, From your description I would say that startup modules are not what you are looking for. Your initial attempt using a widget seems much more plausible. You probably want your canvas to be in a tiddler and not somewhere else. No, the canvas is displayed outside any tiddler at a

[twdev] Re: [TW5] Plugin does not listen to changes

2014-10-23 Thread Felix Küppers
Sorry, I didn't notice your message while write my own message. Looking at https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/syncer.js#L36 I see that you need to register an event listener with the wiki object: $tw.wiki.addEventListener(change,function(changes) {...});

[twdev] Re: [TW5] Plugin does not listen to changes

2014-10-23 Thread Felix Küppers
with $:/tags/PageTemplate, so you can created a tiddler containing your widget(s) and tag it so that it will be included in the widget tree. You might also look at the edit-bitmap widget - it uses canvas Cheers BJ On Thursday, October 23, 2014 1:35:46 PM UTC+1, Felix Küppers wrote: Sorry, I

[twdev] Re: TW5 where is ./bin/qbld.sh

2014-10-22 Thread Felix Küppers
Thank you Mario for your response. I looked at your pull request and this seems to be a general issue that may take some time and consideration. However, my primary problem was only to understand, which commands I have to execute at this moment to compile a wiki. Jeremy made a reference to

[twdev] Re: TW5 where is ./bin/qbld.sh

2014-10-22 Thread Felix Küppers
something like node tiddlywiki editions/tw5.com --output ./out --build empty personally I copied the old qbld.sh. Cheers BJ On Wednesday, October 22, 2014 2:34:09 PM UTC+1, Felix Küppers wrote: Thank you Mario for your response. I looked at your pull request and this seems to be a general

[twdev] [TW5] Plugin does not listen to changes

2014-10-22 Thread Felix Küppers
Hi, *Short Introduction:* My goal is to create a plugin that visualizes certain tiddlers via vis.js on a canvas and update the canvas everytime a tiddler is saved or deleted. Hence, I need to subscribe to save-tiddler and delete-tiddler events. *My Problem:* The object TaskGraphWidget is never

[twdev] TW5 where is ./bin/qbld.sh

2014-10-21 Thread Felix Küppers
Hi, I am currently trying to build a plugin (a ticket-system based on vis.js). In the dev wiki (Developing plugins using Node.js and GitHub) it is stated that I have to execute ./bin/qbld.sh This file does not exist in the current version of https://github.com/Jermolene/TiddlyWiki5. Which

<    1   2