summaryrefslogtreecommitdiff
path: root/public/js/history.js
diff options
context:
space:
mode:
authorYukai Huang2016-10-11 20:17:44 +0800
committerYukai Huang2016-10-11 21:22:05 +0800
commit4a6a69e7bc8f6e2897394f3a1285ff7626bceb16 (patch)
tree0a75e29aa93ea7be8e75038854289a99d5c6919b /public/js/history.js
parentddb953da0ca4dbbc5763e284f5cc7f974589434f (diff)
Fix module export
Diffstat (limited to 'public/js/history.js')
-rw-r--r--public/js/history.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/public/js/history.js b/public/js/history.js
index 91f3cccf..d5082dd9 100644
--- a/public/js/history.js
+++ b/public/js/history.js
@@ -4,6 +4,7 @@ var common = require('./common');
var checkIfAuth = common.checkIfAuth;
var urlpath = common.urlpath;
var serverurl = common.serverurl;
+var getLoginState = common.getLoginState;
var extra = require('./extra');
var renderFilename = extra.renderFilename;
@@ -414,5 +415,7 @@ module.exports = {
removeHistory: removeHistory,
parseStorageToHistory: parseStorageToHistory,
postHistoryToServer: postHistoryToServer,
- deleteServerHistory: deleteServerHistory
+ deleteServerHistory: deleteServerHistory,
+ parseServerToHistory: parseServerToHistory,
+ saveStorageHistoryToServer: saveStorageHistoryToServer
}