|
|
|
@ -24,7 +24,12 @@ class View {
|
|
|
|
|
Connect.setRequestHeader("Content-Type", "text/xml");
|
|
|
|
|
Connect.send(null);
|
|
|
|
|
// Place the response in an XML document.
|
|
|
|
|
textArea.value = Connect.responseText;
|
|
|
|
|
var exampleText = document.createTextNode(Connect.responseText);
|
|
|
|
|
textArea.append(exampleText);
|
|
|
|
|
|
|
|
|
|
this.editor = ace.edit("textArea");
|
|
|
|
|
this.editor.setTheme("ace/theme/github");
|
|
|
|
|
this.editor.getSession().setMode("ace/mode/xml");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
drawCommentTitles(comments) {
|
|
|
|
|