Commit b80ae3ac authored by Randall Leeds's avatar Randall Leeds

Remove unused target ignore

The guest frames should not be overwriting the targets when they
fail to anchor an annotation. Instead, the anchors property is
used now to store the realized anchors from the target data.
parent 58dc9328
......@@ -39,10 +39,7 @@ class Annotator.Plugin.Bridge extends Annotator.Plugin
# keys of the remote object into the local copy
merge: (local, remote) ->
for k, v of remote
if k is "target" and local[k] and local[k].length > v.length
# console.log "Ignoring update which would make me loose a target."
else
local[k] = v
local[k] = v
local
# Cache of annotations which have crossed the bridge for fast, encapsulated
......
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