Use in memory storage not to clear local storage

Closes #118.
This commit is contained in:
Iwasaki Yudai 2017-08-08 16:52:19 +09:00
parent 1b7f41ca6f
commit 412ffeb06d
2 changed files with 8 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -16,8 +16,7 @@
ws.send(JSON.stringify({ Arguments: args, AuthToken: gotty_auth_token,}));
pingTimer = setInterval(sendPing, 30 * 1000, ws);
hterm.defaultStorage = new lib.Storage.Local();
hterm.defaultStorage.clear();
hterm.defaultStorage = new lib.Storage.Memory();
term = new hterm.Terminal();