diff options
author | Yukai Huang | 2017-04-11 21:33:54 +0800 |
---|---|---|
committer | Yukai Huang | 2017-05-07 20:38:22 +0800 |
commit | 0e9afde5fa87d7039d4cebd43e5613541c56849a (patch) | |
tree | 890b94948852bed55e26c66df1114277857ab879 /public/js | |
parent | d9221f6011aab9355f842b6e001df75b71120960 (diff) |
Move syncsroll under lib
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/index.js | 2 | ||||
-rw-r--r-- | public/js/lib/syncscroll.js (renamed from public/js/syncscroll.js) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/public/js/index.js b/public/js/index.js index 0ca6827b..245cf299 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -65,7 +65,7 @@ import { setupSyncAreas, syncScrollToEdit, syncScrollToView -} from './syncscroll' +} from './lib/syncscroll' import { writeHistory, diff --git a/public/js/syncscroll.js b/public/js/lib/syncscroll.js index ad21e57b..6b07e79c 100644 --- a/public/js/syncscroll.js +++ b/public/js/lib/syncscroll.js @@ -4,8 +4,8 @@ import markdownitContainer from 'markdown-it-container' -import { md } from './extra' -import modeType from './lib/editor/modeType' +import { md } from '../extra' +import modeType from '../lib/editor/modeType' function addPart (tokens, idx) { if (tokens[idx].map && tokens[idx].level === 0) { |