summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorYukai Huang2016-10-09 08:15:37 +0800
committerYukai Huang2016-10-09 08:15:37 +0800
commit67d118782de12f851ad38be13fa9f519ba100765 (patch)
treea53322faf5c74c442488949dcc09863cfb490dc8 /public
parent7e6b9f776ff18e77425bafaed76ede70fe712189 (diff)
Fix function export
Diffstat (limited to '')
-rw-r--r--public/js/index.js1
-rw-r--r--public/js/syncscroll.js3
2 files changed, 3 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 0b64f667..376c8ddd 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -76,6 +76,7 @@ var syncScroll = require('./syncscroll');
var setupSyncAreas = syncScroll.setupSyncAreas;
var clearMap = syncScroll.clearMap;
var syncScrollToEdit = syncScroll.syncScrollToEdit;
+var syncScrollToView = syncScroll.syncScrollToView;
var extra = require('./extra');
var md = extra.md;
diff --git a/public/js/syncscroll.js b/public/js/syncscroll.js
index 444cdebd..644022de 100644
--- a/public/js/syncscroll.js
+++ b/public/js/syncscroll.js
@@ -370,5 +370,6 @@ function editScrollingTimeoutInner() {
module.exports = {
setupSyncAreas: setupSyncAreas,
clearMap: clearMap,
- syncScrollToEdit: syncScrollToEdit
+ syncScrollToEdit: syncScrollToEdit,
+ syncScrollToView: syncScrollToView
};