Hello Felix, In which scenario are you getting this problem? node or standalone? if you only tested on node, check then with an sntandalone wiki. This kind of errors can be because the library only works on the browser, and not in the node. The higlight library suffers the same problem. I fixed it adding some logic to only require te library when it is ready.
Let me know if this fixes the problem. El lunes, 17 de noviembre de 2014 10:35:15 UTC+1, Felix Küppers escribió: > > Hi Mario, > > I looked at codemirror/files/tiddlywiki.files > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FJermolene%2FTiddlyWiki5%2Fblob%2Fmaster%2Fplugins%2Ftiddlywiki%2Fcodemirror%2Ffiles%2Ftiddlywiki.files&sa=D&sntz=1&usg=AFQjCNEKLSPVHQhJsSv2gD0HDbZuxlHL7g> > > but could you please be more clear on what to find there? > > The build.sh is not obsolete :) Without it, I would not be able to easily > create the plugin for vis.js. It compiles the images and all that. without > it, I would have to do it by hand everytime I fetch a new vis version. The > finished compilation is offered in the dist folder as tw-plugin which is *os > independent*. The build.sh is a shortcut for linux users to easily > compile versions of vis.js into a plugin, it does not claim to be > universally usable. WIndows users may just ignore it. > > Regards > Felix > > Am Montag, 17. November 2014 10:05:08 UTC+1 schrieb PMario: >> >> Hi Felix, >> >> Did you have a look at: >> https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/codemirror/files/tiddlywiki.files >> >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FJermolene%2FTiddlyWiki5%2Fblob%2Fmaster%2Fplugins%2Ftiddlywiki%2Fcodemirror%2Ffiles%2Ftiddlywiki.files&sa=D&sntz=1&usg=AFQjCNEKLSPVHQhJsSv2gD0HDbZuxlHL7g> >> IMO it would make your build.sh obsolete, since it is OS specific and >> can't be used from windows. >> >> -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 http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
