Hi Danielo

That fragment looks OK, can you share more of your code? btw - have you
seen http://gist.github.com? Very useful for quick sharing of code.

Best wishes

Jeremy.



On Thu, Apr 17, 2014 at 4:46 PM, Danielo Rodríguez <[email protected]>wrote:

> Hello Jeremy,
>
> Thank you for helping me so much,
>
> This is how the refresh function looks now and it still not working. It
> only refresh when I edit the tiddler where the widget is being used. Looks
> like it only refresh the parameters with the execute function. I think I'm
> missing something.
>
>
> packAsPlugin.prototype.refresh = function (changedTiddlers) {
>     var changedAttributes = this.computeAttributes();
>     console.log(this.computeAttributes());
>     if(changedAttributes.tiddler || changedAttributes.name ||
> changedAttributes.description || changedAttributes.author) {
>         this.refreshSelf();
>         return true;
>     } else {
>         return this.refreshChildren(changedTiddlers);
>     }
> };
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to