• Kyle Keating's avatar
    Refactor annotation events in root-thread · 69c87b9f
    Kyle Keating authored
    Remove state logic from root-thread and place it in corresponding stores:
    
    - deleteNewAndEmptyAnnotations moves to drafts and renamed to deleteNewAndEmptyDrafts
    - events.BEFORE_ANNOTATION_CREATED's logic moves to createAnnotation in annotations store
    - selection store handles REMOVE_ANNOTIONS action directly
    69c87b9f
Name
Last commit
Last update
..
modules Loading commit data...
test Loading commit data...
create-store.js Loading commit data...
debug-middleware.js Loading commit data...
index.js Loading commit data...
use-store.js Loading commit data...
util.js Loading commit data...