diff options
author | Yukai Huang | 2016-10-13 19:15:51 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-13 19:15:51 +0800 |
commit | 2f05e445cca8bf1aa560c7dcce86587297d37d5b (patch) | |
tree | 364104ae0f3a0fdbe438868ee7dff9dd00efb17f /public/js | |
parent | 47b113d9fee5dce5ae8c84f6740ca0093d56c94a (diff) |
Remove uneccesasry serverurl exporting
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/common.js | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/public/js/common.js b/public/js/common.js index 9f81a97d..b8ff3758 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -93,29 +93,28 @@ function checkIfAuth(yesCallback, noCallback) { } module.exports = { - domain: domain, - urlpath: urlpath, - debug: debug, - GOOGLE_API_KEY: GOOGLE_API_KEY, - GOOGLE_CLIENT_ID: GOOGLE_CLIENT_ID, - DROPBOX_APP_KEY: DROPBOX_APP_KEY, - port: port, - serverurl: serverurl, - noteid: noteid, - noteurl: noteurl, - version: version, - checkAuth: checkAuth, - profile: profile, - lastLoginState: lastLoginState, - lastUserId: lastUserId, - loginStateChangeEvent: loginStateChangeEvent, + domain: domain, + urlpath: urlpath, + debug: debug, + GOOGLE_API_KEY: GOOGLE_API_KEY, + GOOGLE_CLIENT_ID: GOOGLE_CLIENT_ID, + DROPBOX_APP_KEY: DROPBOX_APP_KEY, + port: port, + noteid: noteid, + noteurl: noteurl, + version: version, + checkAuth: checkAuth, + profile: profile, + lastLoginState: lastLoginState, + lastUserId: lastUserId, + loginStateChangeEvent: loginStateChangeEvent, - /* export functions */ - resetCheckAuth: resetCheckAuth, - setLoginState: setLoginState, - checkLoginStateChanged: checkLoginStateChanged, - getLoginState: getLoginState, - getUserId: getUserId, - clearLoginState: clearLoginState, - checkIfAuth: checkIfAuth + /* export functions */ + resetCheckAuth: resetCheckAuth, + setLoginState: setLoginState, + checkLoginStateChanged: checkLoginStateChanged, + getLoginState: getLoginState, + getUserId: getUserId, + clearLoginState: clearLoginState, + checkIfAuth: checkIfAuth }; |