diff options
author | Yukai Huang | 2016-12-24 11:09:07 +0800 |
---|---|---|
committer | Yukai Huang | 2016-12-24 11:09:07 +0800 |
commit | d6ae7a36aeef3b5c261bb521f5e3f48898b65ede (patch) | |
tree | 0300814d54c2fd6b21354cbc15fc209eb6296e0b /public/js | |
parent | 8153fa32ed963f3c8b122dd673bb3ab64323e2ab (diff) |
Fix module variable require
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/cover.js | 1 | ||||
-rw-r--r-- | public/js/index.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/public/js/cover.js b/public/js/cover.js index 2f35bd28..ee7d75e4 100644 --- a/public/js/cover.js +++ b/public/js/cover.js @@ -9,6 +9,7 @@ var urlpath = common.urlpath; var resetCheckAuth = common.resetCheckAuth; var getLoginState = common.getLoginState; var clearLoginState = common.clearLoginState; +var loginStateChangeEvent = common.loginStateChangeEvent; var historyModule = require('./history'); var parseStorageToHistory = historyModule.parseStorageToHistory; diff --git a/public/js/index.js b/public/js/index.js index 96580fe3..4a466245 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -29,6 +29,7 @@ var DROPBOX_APP_KEY = common.DROPBOX_APP_KEY; var noteurl = common.noteurl; var checkLoginStateChanged = common.checkLoginStateChanged; +var loginStateChangeEvent = common.loginStateChangeEvent; var extra = require('./extra'); var md = extra.md; |