[annotator-dev] annotator version

Marija Katic m.katic at bbk.ac.uk
Sat Feb 27 23:45:54 UTC 2016


Hi Randall,

thanks a lot for your prompt response. Yes, I am using browserify, and you are right I missed "require".

Kind regards,
Maria
________________________________
From: Randall Leeds [randall at bleeds.info]
Sent: Friday, February 26, 2016 7:24 PM
To: Marija Katic; annotator-dev at lists.okfn.org
Subject: Re: [annotator-dev] annotator version


After installing you must also require('annotator') which implies that you also bundled your application code using an npm compatible bundler such as webpack, browserify, or require.js.

Standalone releases of annotator that will let you simply add a script to the page, as we did with 1.2 series, are possible but I haven't had cycles available to finalize the packaging and make a proper release for that use case.

On Fri, Feb 26, 2016, 09:19 Marija Katic <m.katic at bbk.ac.uk<mailto:m.katic at bbk.ac.uk>> wrote:
Hi All,

I can see there has been similar question raised, and I am not sure if this list is still active. I am really new to the annotator and trying to set it up. I have installed it using npm, and the annotator 2.0.0-alpha.3 is in my package.json dependency list. When I set it up on my page I do not get it working. I get this:

Uncaught ReferenceError: annotator is not defined. This happens on the line:

var app = new annotator.App();

Am I doing something wrong or should I use old version?

Btw. annotateit is down again.

Any help would be appreciated!

Thanks a lot!

Kind regards,

Maria


_______________________________________________
annotator-dev mailing list
annotator-dev at lists.okfn.org<mailto: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/20160227/159ae02d/attachment-0004.html>


More information about the annotator-dev mailing list