[annotator-dev] Annotator + Plugin in IE8
Steph Skardal
steph at endpoint.com
Mon Oct 21 14:07:08 UTC 2013
Hi,
I saw Nick's response regarding ierange, but I'm not sure how to verify
whether or not IERange is being pulled in. There was nothing in the IE
developer tools that indicates issues related to IERange. Can you
elaborate on what type of errors are expected if IERange is the source
of the problem?
Steph
On 10/21/2013 09:40 AM, Andrew Magliozzi wrote:
> Hi Steph and Annotator-Devs,
>
> If memory serves, @Randall offered to help a week or so back. Also,
> Nick had some suggestions, reproduced here:
>
>
> Annotator should automatically pull in IERange [1] if it
> detects a DOM without support for W3C Range [2].
>
> [1]: https://code.google.com/p/ierange/
> [2]:
> https://github.com/okfn/annotator/blob/2fee8/src/annotator.coffee#L732-L733
>
>
> For the group, Steph is reporting the following:
>
> In IE8. error "'compareDocumentPosition' is null or not an
> object". When a user tries to highlight / annotate text in IE8, a
> number of errors are reported that "'this.viewer.hide' is null or
> not an object" and "'this.adder' is null or not an object".
>
>
> Any ideas what's going on or how we could help Steph? Her plugin code
> is here: https://github.com/stephskardal/h2o-annotator
>
> Cheers,
> Andrew
>
>
>
> On Fri, Oct 18, 2013 at 11:21 AM, Steph Skardal <steph at endpoint.com
> <mailto:steph at endpoint.com>> wrote:
>
> Bump. Any help here?
>
> Thanks,
>
> Steph
>
>
>
>
>
>
> On 10/16/2013 10:50 AM, Steph Skardal wrote:
>> Hi all,
>>
>> I'm trying to get annotator plus a plugin to work in IE8.
>>
>> I've got a proof of concept app up at:
>> https://github.com/stephskardal/h2o-annotator. The proof of
>> concept is built to emulate functionality that already exists,
>> but on top of the annotator plugin. It works as expected in
>> Chrome & Firefox (minus a few small CSS issues that I plan to fix
>> later). The proof of concept plugin takes some functionality from
>> the categories plugin in that it adds additional checkboxes.
>>
>> It doesn't work in IE8. When the page loads in IE8, developer
>> tools reports an error "'compareDocumentPosition' is null or not
>> an object". When a user tries to highlight / annotate text in
>> IE8, a number of errors are reported that "'this.viewer.hide' is
>> null or not an object" and "'this.adder' is null or not an object".
>>
>> I don't know if these errors are related to ierange not being
>> pulled in. Can anyone provide guidance on how to get this working
>> in IE8?
>>
>> Thanks,
>>
>> Steph
>
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org <mailto:annotator-dev at lists.okfn.org>
> http://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/annotator-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20131021/fd80a5eb/attachment-0002.html>
More information about the annotator-dev
mailing list