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,})); ws.send(JSON.stringify({ Arguments: args, AuthToken: gotty_auth_token,}));
pingTimer = setInterval(sendPing, 30 * 1000, ws); pingTimer = setInterval(sendPing, 30 * 1000, ws);
hterm.defaultStorage = new lib.Storage.Local(); hterm.defaultStorage = new lib.Storage.Memory();
hterm.defaultStorage.clear();
term = new hterm.Terminal(); term = new hterm.Terminal();