Fix require ordering
This commit is contained in:
parent
b5f42807b9
commit
e4515958cd
2 changed files with 7 additions and 7 deletions
|
@ -28,12 +28,6 @@ var noteurl = common.noteurl;
|
||||||
|
|
||||||
var checkLoginStateChanged = common.checkLoginStateChanged;
|
var checkLoginStateChanged = common.checkLoginStateChanged;
|
||||||
|
|
||||||
var syncScroll = require('./syncscroll');
|
|
||||||
var setupSyncAreas = syncScroll.setupSyncAreas;
|
|
||||||
var clearMap = syncScroll.clearMap;
|
|
||||||
var syncScrollToEdit = syncScroll.syncScrollToEdit;
|
|
||||||
var syncScrollToView = syncScroll.syncScrollToView;
|
|
||||||
|
|
||||||
require('./pretty');
|
require('./pretty');
|
||||||
var extra = require('./extra');
|
var extra = require('./extra');
|
||||||
var md = extra.md;
|
var md = extra.md;
|
||||||
|
@ -54,6 +48,12 @@ var parseMeta = extra.parseMeta;
|
||||||
var exportToHTML = extra.exportToHTML;
|
var exportToHTML = extra.exportToHTML;
|
||||||
var exportToRawHTML = extra.exportToRawHTML;
|
var exportToRawHTML = extra.exportToRawHTML;
|
||||||
|
|
||||||
|
var syncScroll = require('./syncscroll');
|
||||||
|
var setupSyncAreas = syncScroll.setupSyncAreas;
|
||||||
|
var clearMap = syncScroll.clearMap;
|
||||||
|
var syncScrollToEdit = syncScroll.syncScrollToEdit;
|
||||||
|
var syncScrollToView = syncScroll.syncScrollToView;
|
||||||
|
|
||||||
var historyModule = require('./history');
|
var historyModule = require('./history');
|
||||||
var writeHistory = historyModule.writeHistory;
|
var writeHistory = historyModule.writeHistory;
|
||||||
var deleteServerHistory = historyModule.deleteServerHistory;
|
var deleteServerHistory = historyModule.deleteServerHistory;
|
||||||
|
|
|
@ -20,8 +20,8 @@ require('list.js');
|
||||||
require('../vendor/md-toc');
|
require('../vendor/md-toc');
|
||||||
require('randomcolor');
|
require('randomcolor');
|
||||||
|
|
||||||
require('./syncscroll');
|
|
||||||
require('./extra');
|
require('./extra');
|
||||||
|
require('./syncscroll');
|
||||||
require('./history');
|
require('./history');
|
||||||
require('./pretty');
|
require('./pretty');
|
||||||
require('./render');
|
require('./render');
|
||||||
|
|
Loading…
Reference in a new issue