• Sean Hammond's avatar
    Make what's stored in drafts explicit · 743b28dc
    Sean Hammond authored
    Explicitly store `private` (boolean), `tags` (array of strings) and `text`
    (string) in drafts instead of a "black box" `changes` object.
    
    Also rename the updateDraft() function to saveToDrafts() and move it out of
    AnnotationController.
    743b28dc
drafts-test.js 1.66 KB