[annotator-dev] Add ids to annotators

Randall Leeds tilgovi at hypothes.is
Fri Jul 20 15:52:23 UTC 2012


Just remembered to follow up here. Jamie and I talked about this and I
recommended he use the annotationsLoaded and annotationUpdated events to
set up the id on the first highlight rather than change the call signatures
of any of the methods of Annotator.
On Jul 12, 2012 8:33 AM, "Jamie M Folsom" <jfolsom at mit.edu> wrote:

> Hi Folks,
>
> I am attempting to link to specific annotations within a text, and I think
> the way to do it is to add their ids to the highlight span, as the value of
> an id attribute.
>
> http://lists.okfn.org/pipermail/annotator-dev/2011-September/000099.html
>
> Based on this posting from last September, I have added a few lines to
> annotator.coffee (lines 44-48, AKA lines 311-315 in the original), which
> results in an Uncaught ReferenceError: Delegator is not defined.
>
> https://gist.github.com/9f20a9884068189926fa
>
> Any thoughts?
>
> Thanks!
>
> Jamie
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/annotator-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20120720/3b76dc36/attachment-0002.html>


More information about the annotator-dev mailing list