[annotator-dev] annotator-full for Annotator 2.0

Randall Leeds tilgovi at hypothes.is
Mon May 4 21:16:38 UTC 2015

There is no -full.js anymore. The only two extensions shipping in the main
repo now are the "unsupported" extension that warns when features are
missing and the "document" extension that exposes document metadata.

Some of the former plugins are now simply in the core as optional UI
components and don't require separate files. For example, if you look at
dev.html you'll see:

     var app = new annotator.App()
     .include(annotator.ui.main, {element: elem})

That is including the filter bar that used to be a plugin.

Perhaps tell us which plugin(s) you need and we can help you migrate.

On Mon, May 4, 2015 at 7:26 AM, steph <steph at endpoint.com> wrote:

> Hi,
> Sorry if this is going to be a dumb series of questions...
> I'm beginning work on upgrading to Annotator 2.0.0-alpha.2. How do I get
> the equivalent of annotator-full.js for Annotator 2.0 from the current
> source or 2.0 alpha2 release? In the past, I know I went through a series
> of steps to build it, but I can't remember what they were and I can't find
> it in the documentation. The release does not appear to have an equivalent
> to annotator-full.js, annotator.min.js only references other src files, and
> I'd like annotator-full.js (not using browserify or webpack).
> I've looked through the documentation and I can't find the answer, and the
> example in the repo doesn't provide any insight since it references lib/*
> files.
> Thanks in advance,
> Steph
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20150504/7785b765/attachment-0004.html>

More information about the annotator-dev mailing list