Commit 7a9ddd5c authored by Randall Leeds's avatar Randall Leeds

Remove unused file

parent 98cab596
# Annotator plugin for creating the Fragment Selector
class Annotator.Plugin.FragmentSelector extends Annotator.Plugin
pluginInit: ->
# Register the creator Fragment selectors
@annotator.anchoring.selectorCreators.push
name: "FragmentSelector"
describe: @_getFragmentSelector
# Create a FragmentSelector around a range
_getFragmentSelector: (annotation, target) =>
fragment = (new URL(@annotator.getRawHref())).hash
[
type: "FragmentSelector"
value: fragment
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment