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.

https://github.com/openannotation/annotator/releases/tag/v2.0.0-alpha.3
You can use the annotator.js or annotator.min.js files.

On Thu, Oct 8, 2015 at 5:02 AM Josep Pujol <jpu...@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@lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
>
_______________________________________________
annotator-dev mailing list
annotator-dev@lists.okfn.org
https://lists.okfn.org/mailman/listinfo/annotator-dev
Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev

Reply via email to