Commit 5903d6c3 authored by Randall Leeds's avatar Randall Leeds

Remove ephemeral properties from bridge whitelist

With this change, the show differences code is completely out for
the moment, but there should be no more unexpected properties on
annotations objects at all.

Fix #1207
parent ebd10baf
......@@ -91,10 +91,7 @@ class Hypothesis extends Annotator
# Set up the bridge plugin, which bridges the main annotation methods
# between the host page and the panel widget.
whitelist = [
'diffHTML', 'inject', 'quote', 'ranges', 'target', 'id', 'references',
'uri', 'diffCaseOnly', 'document',
]
whitelist = ['target', 'document', 'uri']
this.addPlugin 'Bridge',
gateway: true
formatter: (annotation) =>
......
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