Fix module variable require

This commit is contained in:
Yukai Huang 2016-12-24 11:09:07 +08:00
parent 8153fa32ed
commit d6ae7a36ae
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@ var urlpath = common.urlpath;
var resetCheckAuth = common.resetCheckAuth; var resetCheckAuth = common.resetCheckAuth;
var getLoginState = common.getLoginState; var getLoginState = common.getLoginState;
var clearLoginState = common.clearLoginState; var clearLoginState = common.clearLoginState;
var loginStateChangeEvent = common.loginStateChangeEvent;
var historyModule = require('./history'); var historyModule = require('./history');
var parseStorageToHistory = historyModule.parseStorageToHistory; var parseStorageToHistory = historyModule.parseStorageToHistory;

View file

@ -29,6 +29,7 @@ var DROPBOX_APP_KEY = common.DROPBOX_APP_KEY;
var noteurl = common.noteurl; var noteurl = common.noteurl;
var checkLoginStateChanged = common.checkLoginStateChanged; var checkLoginStateChanged = common.checkLoginStateChanged;
var loginStateChangeEvent = common.loginStateChangeEvent;
var extra = require('./extra'); var extra = require('./extra');
var md = extra.md; var md = extra.md;