summaryrefslogtreecommitdiff
path: root/public/js/lib/editor
diff options
context:
space:
mode:
authorYukai Huang2017-04-11 11:48:59 +0800
committerYukai Huang2017-05-07 20:37:27 +0800
commit68ccee20b3709b9a0499d659c74ac0a298a9ffeb (patch)
tree466eb655de3e069024b1ae9dcc96e207c0bef886 /public/js/lib/editor
parent18a6f9063ebab9913883f8bef78ad95736e7627d (diff)
Extract modeType
Diffstat (limited to 'public/js/lib/editor')
-rw-r--r--public/js/lib/editor/modeType.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/public/js/lib/editor/modeType.js b/public/js/lib/editor/modeType.js
new file mode 100644
index 00000000..f3212105
--- /dev/null
+++ b/public/js/lib/editor/modeType.js
@@ -0,0 +1,11 @@
+export default {
+ edit: {
+ name: 'edit'
+ },
+ view: {
+ name: 'view'
+ },
+ both: {
+ name: 'both'
+ }
+}