Hi Simon I would support putting hammer.js in the official plugin library; I’m interested in using it for a future development of the DynaView plugin, for example.
Best wishes Jeremy. > On 16 Feb 2018, at 11:10, Simon Huber <hypnotizedkanga...@gmail.com> wrote: > > Hi Mario, > > > If you have a closer look, how jszip is implemented, you should be able to > use the same mechanism. > > yes, I use it the same 'require("...hammer.js");' way > > TiddlyWiki uses the "commonjs" modul loader convention. The hammer.js checks > for this mechanims > <https://github.com/hammerjs/hammer.js/blob/563b5b1e4bfbb5796798dd286cd57b7c56f1eb9e/hammer.js#L3230> > and should do the right things. > > So it should be possible to include hammer.js as a library, that can be used > similar too: JSZip = require("$:/plugins/tiddlywiki/jszip/jszip.js") .. as in > xlsutils > <https://github.com/Jermolene/TiddlyWiki5/blob/86266c506f8dffddd1bf00745c19b72e25b87b14/plugins/tiddlywiki/xlsx-utils/importer.js#L18>. > <- click! > > I've seen that the JSZip plugin contains the license, a description and the > minified library without further modifications. That would do it the > hammer.js case, too > > There will be some testing needed. But imo this should be a starting point. > > I'd test it, sure thing! Beyond the starting point, what else is expected > from my point? > > -m > > > Simon > > -- > 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 tiddlywikidev+unsubscr...@googlegroups.com > <mailto:tiddlywikidev+unsubscr...@googlegroups.com>. > To post to this group, send email to tiddlywikidev@googlegroups.com > <mailto:tiddlywikidev@googlegroups.com>. > Visit this group at https://groups.google.com/group/tiddlywikidev > <https://groups.google.com/group/tiddlywikidev>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/c34debdd-ed0d-42b5-bbb4-c99c3ae0a538%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywikidev/c34debdd-ed0d-42b5-bbb4-c99c3ae0a538%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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 tiddlywikidev+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywikidev@googlegroups.com. 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/44C3A7EC-43D0-411C-8DDB-0EB4A4FAE344%40gmail.com. For more options, visit https://groups.google.com/d/optout.