summaryrefslogtreecommitdiff
path: root/public/js/lib
diff options
context:
space:
mode:
authorYukai Huang2017-03-13 22:00:20 +0800
committerYukai Huang2017-03-13 22:00:20 +0800
commitcc30d370f7cf662eb4ea21fb93148a30bd8764d2 (patch)
tree42ef566a9a6d2e4de2e478743df0d14e9ee03577 /public/js/lib
parente97b609d91adab015148184935369216a199038e (diff)
Fix variable exporting error
Diffstat (limited to 'public/js/lib')
-rw-r--r--public/js/lib/editor/index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/public/js/lib/editor/index.js b/public/js/lib/editor/index.js
index a97fd976..6ae40d82 100644
--- a/public/js/lib/editor/index.js
+++ b/public/js/lib/editor/index.js
@@ -10,7 +10,7 @@ const jumpToAddressBarKeymapName = isMac ? 'Cmd-L' : 'Ctrl-L'
export default class Editor {
constructor () {
this.editor = null
-
+ this.jumpToAddressBarKeymapValue = null
this.defaultExtraKeys = {
F10: function (cm) {
cm.setOption('fullScreen', !cm.getOption('fullScreen'))
@@ -116,8 +116,6 @@ export default class Editor {
utils.wrapTextWith(this.editor, cm, 'Backspace')
}
}
-
- this.jumpToAddressBarKeymapValue = null
}
getStatusBarTemplate (callback) {