summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/prolog.js13
1 files changed, 3 insertions, 10 deletions
diff --git a/js/prolog.js b/js/prolog.js
index e3c395c..72687c3 100644
--- a/js/prolog.js
+++ b/js/prolog.js
@@ -388,17 +388,10 @@
}).then(
function testSuccess(data) {
jqConsole.resume();
- // TODO output to "hints" window once that is implemented
- if (data.code === 0) {
- t = data.terminal;
- lines = t.messages;
- for (i = 0; i < lines.length; i++) {
- jqConsole.echo(lines[i]);
- }
- }
- else {
+ if (data.code === 0)
+ handler.processServerHints(data.hints);
+ else
jqConsole.error(data.message);
- }
},
function testFailed (error) {
jqConsole.resume();