summaryrefslogtreecommitdiff
path: root/js/prolog.js
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-01 16:34:23 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-01 16:34:23 +0200
commit52d9ebc1b0d7b46d19cf1a59b39c52f80a3285d7 (patch)
tree9ceb4d83b22095350d8861c26234c563bb3be82d /js/prolog.js
parent63ed43e8a0fbe5f8d17fe67b2b262356eeb5c47c (diff)
Send the language as a request parameter
Diffstat (limited to 'js/prolog.js')
-rw-r--r--js/prolog.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/prolog.js b/js/prolog.js
index 72687c3..7fe73fd 100644
--- a/js/prolog.js
+++ b/js/prolog.js
@@ -362,6 +362,7 @@
jqConsole.pause();
var doc = editor.getDoc();
codeq.comms.sendHint({
+ 'language': 'prolog',
'program': editor.getDoc().getValue(),
'problem_id': problem.id
}).then(
@@ -383,6 +384,7 @@
jqConsole.pause();
var doc = editor.getDoc();
codeq.comms.sendTest({
+ 'language': 'prolog',
'program': editor.getDoc().getValue(),
'problem_id': problem.id
}).then(