From 0325d5355f48749a43e6b87d7e06942d7522cfaa Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sun, 11 May 2014 09:56:15 -0400 Subject: [PATCH] feature(edit) mv theme to json --- json/edit.json | 1 + lib/client/edit.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/json/edit.json b/json/edit.json index e48f1cfc..b35debf0 100644 --- a/json/edit.json +++ b/json/edit.json @@ -1,5 +1,6 @@ { "options": { + "theme": "ace/theme/tomorrow_night_blue", "enableBasicAutocompletion": true, "enableSnippets": false, "showPrintMargin": false, diff --git a/lib/client/edit.js b/lib/client/edit.js index f34c4716..a9624d3d 100644 --- a/lib/client/edit.js +++ b/lib/client/edit.js @@ -167,8 +167,6 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip; Ace = ace.edit(Element); Session = Ace.getSession(); - Ace.setTheme('ace/theme/tomorrow_night_blue'); - Ace.commands.addCommand({ name : 'hide', bindKey : { win: 'Esc', mac: 'Esc' },