• Robert Knight's avatar
    Remove `unloadAnnotations` method from `annotation-mapper` · 1fd5cca5
    Robert Knight authored
    This method inadvertently (?) mutated annotations in the store which
    caused a crash later. Ultimately this method dispatched an event which
    was handled only in one place in `root-thread.js` to call
    `store.removeAnnotations()`.
    
    This commit removes the method and associated `ANNOTATIONS_UNLOADED`
    event and replaces callers with direct calls to
    `store.removeAnnotations(...)`.
    
    All uses of Angular events will soon need to be removed as part of the
    migration away from Angular JS, but that will happen separately.
    
    Fixes #1879
    1fd5cca5
Name
Last commit
Last update
..
test Loading commit data...
activity.js Loading commit data...
annotations.js Loading commit data...
defaults.js Loading commit data...
direct-linked.js Loading commit data...
drafts.js Loading commit data...
frames.js Loading commit data...
groups.js Loading commit data...
links.js Loading commit data...
real-time-updates.js Loading commit data...
selection.js Loading commit data...
session.js Loading commit data...
sidebar-panels.js Loading commit data...
viewer.js Loading commit data...