Maybe not. I have never checked if this piece of functionality works if not
attached to the Dom. I assumed it does not. (Because of the serialize part.)
2014.04.29. 14:07 ezt írta ("Nick Stenning" <notifications@github.com>):

> In src/plugin/legacyranges.coffee:
>
> > @@ -0,0 +1,57 @@
> > +BackboneEvents = require('backbone-events-standalone')
> > +Range = require('../range')
> > +Util = require('../util')
> > +$ = Util.$
> > +
> > +# Public: Provide support to annotate text selections in HTML documents
> > +class LegacyRanges
> > +
> > +  constructor: (element) ->
> > +    @element = element
> > +
> > +  configure: ({@core}) ->
> > +
> > +  pluginInit: ->
> > +    if @element.ownerDocument?
>
> I don't think this check is needed here.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/hypothesis/annotator/pull/62/files#r12116849>
> .
>