• Robert Knight's avatar
    Remove jQuery usage from `Delegator` class · 67d0c469
    Robert Knight authored
    - Replace usage of jQuery for the event bus in `Delegator` with
      `tiny-emitter`, which we use in various other places in the application
    
    - Change the `element` property from a jQuery wrapper to a DOM element
      and adapt the places in `Guest` that referenced it
    
    - Remove the `on` alias for the `subscribe` method and change existing
      users to just use `subscribe`
    
    - Convert the one remaining use of the legacy alternative approach to
      passing configuration to `Delegator` to instead pass options in the
      `super(...)` call. This allows removing support for this from the
      `Delegator` constructor.
    
    - Add basic tests for the `Delegator` base class
    67d0c469
Name
Last commit
Last update
..
anchoring Loading commit data...
components Loading commit data...
config Loading commit data...
plugin Loading commit data...
test Loading commit data...
util Loading commit data...
.eslintrc.js Loading commit data...
adder.js Loading commit data...
annotation-counts.js Loading commit data...
annotation-sync.js Loading commit data...
delegator.js Loading commit data...
features.js Loading commit data...
frame-observer.js Loading commit data...
guest.js Loading commit data...
highlighter.js Loading commit data...
host.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
pdf-sidebar.js 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.js Loading commit data...
toolbar.js Loading commit data...