Fix require ordering

This commit is contained in:
Yukai Huang 2016-10-14 00:02:55 +08:00
parent b5f42807b9
commit e4515958cd
2 changed files with 7 additions and 7 deletions

View file

@ -28,12 +28,6 @@ var noteurl = common.noteurl;
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');
var extra = require('./extra');
var md = extra.md;
@ -54,6 +48,12 @@ var parseMeta = extra.parseMeta;
var exportToHTML = extra.exportToHTML;
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 writeHistory = historyModule.writeHistory;
var deleteServerHistory = historyModule.deleteServerHistory;

View file

@ -20,8 +20,8 @@ require('list.js');
require('../vendor/md-toc');
require('randomcolor');
require('./syncscroll');
require('./extra');
require('./syncscroll');
require('./history');
require('./pretty');
require('./render');