diff --git a/public/js/index.js b/public/js/index.js index 0ca6827..245cf29 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 similarity index 99% rename from public/js/syncscroll.js rename to public/js/lib/syncscroll.js index ad21e57..6b07e79 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) {