summaryrefslogtreecommitdiff
path: root/public/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/public/js/index.js b/public/js/index.js
index d28f4d6c..27b0295d 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -80,6 +80,7 @@ import { preventXSS } from './render'
import Editor from './lib/editor'
import getUIElements from './lib/editor/ui-elements'
+import modeType from './lib/editor/modeType'
var defaultTextHeight = 20
var viewportMargin = 20
@@ -226,17 +227,6 @@ var supportExtraTags = [
}
}
]
-window.modeType = {
- edit: {
- name: 'edit'
- },
- view: {
- name: 'view'
- },
- both: {
- name: 'both'
- }
-}
var statusType = {
connected: {
msg: 'CONNECTED',