load(dataurl) {
this.preset = {};
+ let input;
+ if (input = window.location.hash.match(/\d+/)) {
+ this.preset.cat = input[0];
+ }
+ if (window.location.hash.match(/a/)) {
+ this.preset.level = 2;
+ }
+
fetch(dataurl).then(res => res.json()).then(json => {
this.words = this.dataselect(json)
this.setup();