• Robert Knight's avatar
    Replace hammer.js with local code · 1b5c4076
    Robert Knight authored
    Hammer.js is used to facilitate resizing the sidebar by dragging the sidebar
    button. For this use case, we can avoid a dependency which is not actively
    maintained, get more visibility into what the code is doing and make testing
    easier by using a small amount of our own code.
    
    In the process the tests for drag resizing in the sidebar were refactored to
    avoid referencing private fields of `Sidebar` and mocking `getComputedStyle`.
    
    The user-facing behavior should be unchanged.
    1b5c4076
This project manages its dependencies using Yarn. Learn more
yarn.lock 493 KB