diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-01 16:34:23 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-01 16:34:23 +0200 |
commit | 52d9ebc1b0d7b46d19cf1a59b39c52f80a3285d7 (patch) | |
tree | 9ceb4d83b22095350d8861c26234c563bb3be82d /js/prolog.js | |
parent | 63ed43e8a0fbe5f8d17fe67b2b262356eeb5c47c (diff) |
Send the language as a request parameter
Diffstat (limited to 'js/prolog.js')
-rw-r--r-- | js/prolog.js | 2 |
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( |