Commit 1459c189 authored by Nick Stenning's avatar Nick Stenning

Selection plugin no longer requires highlights plugin

parent 2737888f
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
class Annotator.Plugin.TextSelection extends Annotator.Plugin class Annotator.Plugin.TextSelection extends Annotator.Plugin
pluginInit: -> pluginInit: ->
# We need text highlights
unless @annotator.plugins.TextHighlights
throw new Error "The TextSelection Annotator plugin requires the TextHighlights plugin."
@Annotator = Annotator @Annotator = Annotator
@$ = Annotator.$ @$ = Annotator.$
......
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