mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
Fix module export
This commit is contained in:
parent
ddb953da0c
commit
4a6a69e7bc
5 changed files with 27 additions and 20 deletions
|
@ -3,6 +3,8 @@ var checkIfAuth = common.checkIfAuth;
|
|||
var urlpath = common.urlpath;
|
||||
var serverurl = common.serverurl;
|
||||
var resetCheckAuth = common.resetCheckAuth;
|
||||
var getLoginState = common.getLoginState;
|
||||
var clearLoginState = common.clearLoginState;
|
||||
|
||||
var historyModule = require('./history');
|
||||
var parseStorageToHistory = historyModule.parseStorageToHistory;
|
||||
|
@ -11,6 +13,10 @@ var getStorageHistory = historyModule.getStorageHistory;
|
|||
var getHistory = historyModule.getHistory;
|
||||
var saveHistory = historyModule.saveHistory;
|
||||
var removeHistory = historyModule.removeHistory;
|
||||
var postHistoryToServer = historyModule.postHistoryToServer;
|
||||
var deleteServerHistory = historyModule.deleteServerHistory;
|
||||
var parseServerToHistory = historyModule.parseServerToHistory;
|
||||
var saveStorageHistoryToServer = historyModule.saveStorageHistoryToServer;
|
||||
|
||||
var saveAs = require('file-saver').saveAs;
|
||||
var List = require('list.js');
|
||||
|
@ -196,7 +202,7 @@ function parseHistoryCallback(list, notehistory) {
|
|||
$this.addClass('active');
|
||||
else
|
||||
$this.removeClass('active');
|
||||
}
|
||||
}
|
||||
});
|
||||
}, function () {
|
||||
getHistory(function (notehistory) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue