From 67d118782de12f851ad38be13fa9f519ba100765 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Sun, 9 Oct 2016 08:15:37 +0800 Subject: Fix function export --- public/js/index.js | 1 + public/js/syncscroll.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'public/js') 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 }; -- cgit v1.2.3