Rename common.js to login.js
This commit is contained in:
parent
c2a8911b9c
commit
0fca629c34
5 changed files with 14 additions and 7 deletions
|
@ -9,7 +9,7 @@ import {
|
|||
getLoginState,
|
||||
resetCheckAuth,
|
||||
setloginStateChangeEvent
|
||||
} from './common';
|
||||
} from './lib/common/login';
|
||||
|
||||
import {
|
||||
clearDuplicatedHistory,
|
||||
|
|
|
@ -11,7 +11,7 @@ import PDFObject from 'pdfobject';
|
|||
import S from 'string';
|
||||
import { saveAs } from 'file-saver';
|
||||
|
||||
require('./common');
|
||||
require('./lib/common/login');
|
||||
require('../vendor/md-toc');
|
||||
var Viz = require("viz.js");
|
||||
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
import store from 'store';
|
||||
import S from 'string';
|
||||
|
||||
import {
|
||||
checkIfAuth
|
||||
} from './lib/common/login';
|
||||
|
||||
import {
|
||||
checkIfAuth,
|
||||
urlpath
|
||||
} from './common';
|
||||
} from './lib/config';
|
||||
|
||||
window.migrateHistoryFromTempCallback = null;
|
||||
|
||||
|
|
|
@ -19,7 +19,10 @@ var List = require('list.js');
|
|||
|
||||
import {
|
||||
checkLoginStateChanged,
|
||||
setloginStateChangeEvent,
|
||||
setloginStateChangeEvent
|
||||
} from './lib/common/login';
|
||||
|
||||
import {
|
||||
debug,
|
||||
DROPBOX_APP_KEY,
|
||||
GOOGLE_API_KEY,
|
||||
|
@ -28,7 +31,7 @@ import {
|
|||
noteurl,
|
||||
urlpath,
|
||||
version
|
||||
} from './common';
|
||||
} from './lib/config';
|
||||
|
||||
import {
|
||||
autoLinkify,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { serverurl } from './lib/config';
|
||||
import { serverurl } from '../config';
|
||||
|
||||
let checkAuth = false;
|
||||
let profile = null;
|
Loading…
Reference in a new issue