[annotator-dev] packaging plugins

Randall Leeds tilgovi at hypothes.is
Sat Apr 26 17:52:00 UTC 2014

On Apr 26, 2014 10:14 AM, "Kristof Csillag" <csillag at hypothes.is> wrote:
> A few more questions.
> How do I declare dependencies between plugins? "require()" satisfies the
code dependency, but what I need to check is not the exported objects from
the other plugin, but the presence of the plugin, loaded in the current
annotator instance.

There is no better way yet. Look for the interface you need, not the plugin.

> Also, how do I declare conflicts between mutually exclusive plugins?

Just let it fail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20140426/76fc840e/attachment-0004.html>

More information about the annotator-dev mailing list