Hi Simon, If you have a closer look, how jszip is implemented, you should be able to use the same mechanism.
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 with: 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! There will be some testing needed. But imo this should be a starting point. -m -- 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/d04233ee-1ba9-4695-b61e-e0cdb0dceece%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
