On Wednesday, March 23, 2016 at 4:07:51 AM UTC-7, Felix Küppers wrote:
>
> Hi Karen,
>
> I found the problem :) you forgot to install vis.js. As stated in the
> installation instructions, you need to drag at least TiddlyMap and Visjs
> into your wiki to install it.
>
A robust plugin shouldn't cause a fatal failure on load just because some
components are missing.
Assuming the error is due to an attempt to reference some object or
function that is undefined (because of the incomplete installation), can
you add a test to make sure the object/function exists before invoking it?
You could then output a nicer error message that directs them to some
pre-written help ("vis.js is missing. For help, visit http://...."). At
the very least, the document should load without the errant plugin, so that
it can be fixed (or backed out) without needed "divine intervention" from
the TiddlyWiki community.
-e
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/527135f5-e468-43be-a802-90e2630c36a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.