• Robert Knight's avatar
    Eliminate `vm.form` and `vm.isPrivate` · debca3f9
    Robert Knight authored
    These variables duplicated the information from the current draft for an
    annotation. Instead of restoring a draft when an annotation card is
    created and saving it when the annotation card is destroyed, just update
    the draft whenever the tags, text or privacy of the annotation is
    changed. The text/tags/privacy shown in the card are determined by
    `vm.state()` which merges the annotation and the draft.
    
    Removing these variables lets us also remove or simplify the tests that
    checked that everything remained in sync.
    debca3f9
Name
Last commit
Last update
.github Loading commit data...
h Loading commit data...
images Loading commit data...
scripts Loading commit data...
.gitignore Loading commit data...
.hound.yml Loading commit data...
.jscsrc Loading commit data...
.jshintignore Loading commit data...
.jshintrc Loading commit data...
.npmignore Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
npm-shrinkwrap.json Loading commit data...
package.json Loading commit data...