• 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
host.coffee 1.55 KB