• 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
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
bucket-bar-client-test.js Loading commit data...
bucket-bar-test.js Loading commit data...
empty.html Loading commit data...
features-test.js Loading commit data...
frame-observer-test.js Loading commit data...
guest-test.js Loading commit data...
highlight-clusters-test.js Loading commit data...
highlighter-test.js Loading commit data...
notebook-test.js Loading commit data...
outside-assignment-notice-test.js Loading commit data...
profile-test.js Loading commit data...
range-util-test.js Loading commit data...
selection-observer-test.js Loading commit data...
sidebar-test.js Loading commit data...
sidebar-trigger-test.js Loading commit data...
toolbar-test.js Loading commit data...