[annotator-dev] packaging plugins
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
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...
More information about the annotator-dev