summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js12
-rw-r--r--public/js/public.js2
2 files changed, 7 insertions, 7 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 9fb7a28a..445a820b 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -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;
diff --git a/public/js/public.js b/public/js/public.js
index ac951804..af8c0924 100644
--- a/public/js/public.js
+++ b/public/js/public.js
@@ -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');