Commit 0f7bbe44 authored by Randall Leeds's avatar Randall Leeds

Remove dead code

parent 643be4a4
...@@ -78,17 +78,6 @@ class TextHighlight ...@@ -78,17 +78,6 @@ class TextHighlight
@_highlights = TextHighlight.highlightRange(normedRange) @_highlights = TextHighlight.highlightRange(normedRange)
$(@_highlights).data "annotation", @annotation $(@_highlights).data "annotation", @annotation
# Is this a temporary hl?
isTemporary: -> @_temporary
# Mark/unmark this hl as active
setTemporary: (value) ->
@_temporary = value
if value
$(@_highlights).addClass('annotator-hl-temporary')
else
$(@_highlights).removeClass('annotator-hl-temporary')
# Mark/unmark this hl as focused # Mark/unmark this hl as focused
setFocused: (value) -> setFocused: (value) ->
if value if value
......
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