[annotator-dev] Add annotator with requirejs

Randall Leeds randall at bleeds.info
Fri Oct 9 18:13:08 UTC 2015

The annotator module in npm is meant to be used as a CommonJS module, but
you should be able to use the standalone build in requirejs because it's a
UMD module.

You can use the annotator.js or annotator.min.js files.

On Thu, Oct 8, 2015 at 5:02 AM Josep Pujol <jpujol at sctrade.es> wrote:

> Hello,
> I'm trying to load annotator in my web project via requirejs, but I
> can't. It's possible to load the annotator.js with require?,  How do I do?
> thanks.
> _______________________________________________
> 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/20151009/3512adcb/attachment-0004.html>

More information about the annotator-dev mailing list