• Juan Corona's avatar
    Fix issues found after removing annotator.js · f29cd223
    Juan Corona authored
    Failing tests and what was fixed:
    1. Sidebar was not closing when the user taps or clicks in the page.
    	- Function that set up event handlers used to be called by the `Annotator` base class, now called directly in `Sidebar`
    2. Config params used in the passed options to the sidebar iframe leaked a new property (`pluginClasses`) used by the refactoring
    	- Filter that property in `Host`
    3. `Guest` was missing `deleteAnnotation` function implementation that used to be in `Annotator`
    
    Now only 2 tests should be failing
    f29cd223
Name
Last commit
Last update
..
anchoring Loading commit data...
plugin Loading commit data...
test Loading commit data...
util Loading commit data...
vendor Loading commit data...
.eslintrc.js Loading commit data...
adder.html Loading commit data...
adder.js Loading commit data...
annotation-counts.js Loading commit data...
annotation-sync.js Loading commit data...
config.js Loading commit data...
delegator.coffee Loading commit data...
guest.coffee Loading commit data...
highlighter.coffee Loading commit data...
host.coffee Loading commit data...
main.js Loading commit data...
pdf-sidebar.coffee Loading commit data...
pdfjs-rendering-states.js Loading commit data...
plugin.coffee Loading commit data...
range-util.js Loading commit data...
selections.js Loading commit data...
sidebar-trigger.js Loading commit data...
sidebar.coffee Loading commit data...