This commit is contained in:
parent
356a54c762
commit
12b8f780d9
|
@ -48,7 +48,7 @@ var editors = {
|
|||
|
||||
CodeMirror.commands.autocompleteAfterDot = function(cm) {
|
||||
var cur = cm.getCursor();
|
||||
console.log(cm.getRange(CodeMirror.Pos(cur.line, cur.ch - 1), cur));
|
||||
// console.log(cm.getRange(CodeMirror.Pos(cur.line, cur.ch - 1), cur));
|
||||
|
||||
// var token = cm.getTokenAt(cm.getCursor());
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
var outputWS = new WebSocket(config.channel.editor + '/output/ws');
|
||||
var outputWS = new WebSocket(config.channel.output + '/output/ws');
|
||||
outputWS.onopen = function() {
|
||||
console.log('[output onopen] connected');
|
||||
};
|
||||
|
|
|
@ -59,7 +59,8 @@
|
|||
var config = {
|
||||
channel: {
|
||||
editor: '{{.Wide.EditorChannel}}',
|
||||
shell: '{{.Wide.ShellChannel}}'
|
||||
shell: '{{.Wide.ShellChannel}}',
|
||||
output: '{{.Wide.OutputChannel}}'
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue