Commit 8ee8f36f6ea5155037d847d2c0876a363a4c1808
1 parent
2a750bf2
Exists in
master
and in
4 other branches
WebEditor: fix unknown theme in production mode
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
app/assets/javascripts/application.js
@@ -18,5 +18,5 @@ | @@ -18,5 +18,5 @@ | ||
18 | //= require chosen-jquery | 18 | //= require chosen-jquery |
19 | //= require raphael | 19 | //= require raphael |
20 | //= require branch-graph | 20 | //= require branch-graph |
21 | -//= require ace-src-noconflict/ace.js | 21 | +//= require ace-src-noconflict/ace |
22 | //= require_tree . | 22 | //= require_tree . |
app/views/tree/edit.html.haml
@@ -21,7 +21,6 @@ | @@ -21,7 +21,6 @@ | ||
21 | 21 | ||
22 | :javascript | 22 | :javascript |
23 | var editor = ace.edit("editor"); | 23 | var editor = ace.edit("editor"); |
24 | - editor.setTheme("ace/theme/twilight"); | ||
25 | editor.getSession().setMode("ace/mode/javascript"); | 24 | editor.getSession().setMode("ace/mode/javascript"); |
26 | 25 | ||
27 | $(".save-btn").click(function(){ | 26 | $(".save-btn").click(function(){ |