Commit b0ab104e authored by Gerben's avatar Gerben Committed by Aron Carroll

Strip long dead code

parent 2a618a03
...@@ -49,24 +49,11 @@ class Annotator.Plugin.Bridge extends Annotator.Plugin ...@@ -49,24 +49,11 @@ class Annotator.Plugin.Bridge extends Annotator.Plugin
# Connected bridge links # Connected bridge links
links: null links: null
# Annotations currently being updated -- used to avoid event callback loops
updating: null
constructor: (elem, options) -> constructor: (elem, options) ->
if options.window? super
# Pull the option out and restore it after the super constructor is
# called. Unfortunately, Delegator uses a jQuery function which
# inspects this too closely and causes security errors.
window = options.window
delete options.window
super elem, options
@options.window = window
else
super
@cache = {} @cache = {}
@links = [] @links = []
@updating = {}
pluginInit: -> pluginInit: ->
$(window).on 'message', this._onMessage $(window).on 'message', this._onMessage
......
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