some more relative url roots in editor_edit, removed javascript uglifying for staging, added debug message for docker websocket connection url.

added doku for setting up docker daemon for codeocean
This commit is contained in:
Ralf Teusner
2016-10-07 14:16:24 +02:00
parent 59119e43d5
commit 1dfd6f61dc
4 changed files with 16 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
$(function() {
var ACE_FILES_PATH = '/assets/ace/';
// ruby part adds the relative_url_root, if it is set.
var ACE_FILES_PATH = '<%= (defined? config.relative_url_root) && config.relative_url_root != nil && config.relative_url_root != "" ? config.relative_url_root : "" %>' + '/assets/ace/';
var THEME = 'ace/theme/textmate';
var configureEditors = function() {