Add autosaving to the editor (#688)

* Add autosaving to the editor

* It saves the subtitle, tags, and license now

* Save the cover too

* Fix broken autosave again

* Use set_value instead of a multitude of setters. Implement debouncing

* Remove unsafe code, remove generic getters when possible
This commit is contained in:
Violet White
2019-11-02 10:14:41 -04:00
committed by Ana Gelez
parent 865f372d5a
commit c0469c69c1
4 changed files with 175 additions and 7 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ extern crate gettext_macros;
extern crate lazy_static;
#[macro_use]
extern crate stdweb;
extern crate serde;
extern crate serde_json;
use stdweb::web::{event::*, *};
init_i18n!(