From cc30d370f7cf662eb4ea21fb93148a30bd8764d2 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Mon, 13 Mar 2017 22:00:20 +0800 Subject: Fix variable exporting error --- public/js/lib/editor/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'public/js/lib/editor/index.js') 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) { -- cgit v1.2.3