Merge pull request #157 from yudai/inmemory_storage

Use in memory storage not to clear local storage
This commit is contained in:
Iwasaki Yudai 2017-08-08 00:53:57 -07:00 committed by GitHub
commit b181c6baf5
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();