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
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();