[TW5] How to integrate a 3rd party JS library?

75 views
Skip to first unread message

sb56637

unread,
Aug 9, 2015, 12:25:26 PM8/9/15
to TiddlyWiki
Hi folks,

I would like to use TW5 as a todo/reminder system. But the problem is that I need some specific functionality like a popup calendar and a way to make it calculate recurring due dates. I'm not much of a coder, I can just hack and copy/paste pre-existing code. I can find JS libs that provide the functionality I need (http://www.mattkruse.com/javascript/calendarpopup/simple.html and https://github.com/mattgrayson/recurring-date) but I'm not really sure if it's feasible to integrate this stuff into TW5 as a plugin?

Thanks for the help!

PMario

unread,
Aug 9, 2015, 2:10:12 PM8/9/15
to TiddlyWiki
On Sunday, August 9, 2015 at 6:25:26 PM UTC+2, sb56637 wrote:
I would like to use TW5 as a todo/reminder system. But the problem is that I need some specific functionality like a popup calendar and a way to make it calculate recurring due dates. I'm not much of a coder, I can just hack and copy/paste pre-existing code. I can find JS libs that provide the functionality I need (http://www.mattkruse.com/javascript/calendarpopup/simple.html and

Is there some documentation to this library, except the source?
 
https://github.com/mattgrayson/recurring-date) but I'm not really sure if it's feasible to integrate this stuff into TW5 as a plugin?

This library uses jquery, which imo isn't a good fit for TW, since TW uses a completely different approach.

-m

sb56637

unread,
Aug 9, 2015, 5:02:47 PM8/9/15
to TiddlyWiki
> Is there some documentation to this library, except the source?

Hmm not as far as I know. I guess there's a lot of alternatives for this one (popup JS calendars), but in general is it feasible to import external JS libraries and integrate them into TW?


> This library uses jquery, which imo isn't a good fit for TW, since TW uses a completely different approach.

Ah, I didn't notice that. I'll keep looking to see if I can find another one.
Reply all
Reply to author
Forward
0 new messages