How do I do printf debugging?
In all programming langauages I know I stick print statements all over the
place to see what's going on - then I remove them when the program works.
What's the equivalent in developing TW plugins?
Specifically I've made a button like this:
<$button actions={{CommentButtonActions}}> Press Me To add a comment
</$button>
Which I hope will do something when I click it
I now need to define CommentButtonActions
If this was regular Javascript I'd just write console.log(...) in my
JS and stare at the output.
What's the equivalent in TW code? What would I print out inside
CommentButtonActions?
Cheers
/Joe
--
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 https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/628beaa0-2373-4631-bdc3-14ca758ac170%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.