• Robert Knight's avatar
    Simplify annotator plugin initialization · d17e2546
    Robert Knight authored
    Previously plugin initialization happened in several steps:
    
     1. The plugin constructor was called with the root element and config
        options
     2. The plugin's `annotator` property was set to a reference to the
        `Guest` instance for the current document
     3. The plugin's `pluginInit` method was called
    
    There was no real need for this multi-step process. This commit
    simplifies it by removing the `pluginInit` method and passing the guest
    reference as a third argument to the constructor in step 1.
    
    As a result, the `Plugin` base class is no longer needed. Plugins now
    extend the parent `Delegator` class instead.
    d17e2546
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
annotation-sync-test.js Loading commit data...
delegator-test.js Loading commit data...
empty.html Loading commit data...
features-test.js Loading commit data...
guest-test.js Loading commit data...
highlighter-test.js Loading commit data...
host-test.js Loading commit data...
pdf-sidebar-test.js Loading commit data...
range-util-test.js Loading commit data...
selections-test.js Loading commit data...
sidebar-test.js Loading commit data...
sidebar-trigger-test.js Loading commit data...
toolbar-test.js Loading commit data...