[annotator-dev] annotator version
randall at bleeds.info
Sun Feb 28 00:18:53 UTC 2016
Great, write back if you encounter any more trouble!
On Sat, Feb 27, 2016 at 3:46 PM Marija Katic <m.katic at bbk.ac.uk> wrote:
> Hi Randall,
> thanks a lot for your prompt response. Yes, I am using browserify, and you
> are right I missed "require".
> Kind regards,
> *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
> On Fri, Feb 26, 2016, 09:19 Marija Katic <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
>> 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,
>> annotator-dev mailing list
>> annotator-dev at lists.okfn.org
>> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the annotator-dev