• Randall Leeds's avatar
    Threading events fix and tests · 2605ac16
    Randall Leeds authored
    Rather than looping through all threads, use the references property
    to find the parent directly. It should be guaranteed to exist since
    one cannot reply to something which does not have an id.
    
    Furthermore, when there is no parent reference, the root serves as
    the parent. Without considering this, deleting top level annotations
    leave stubs in the UI.
    
    Add some tests that the events do what they're supposed to. NB: the
    thread method itself should probably be tested.
    2605ac16
Name
Last commit
Last update
h Loading commit data...
tests/js Loading commit data...
karma.config.js Loading commit data...
package.json Loading commit data...