From 898c828c741cbc947b1ead35dfce6bf08c0302e5 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 22 Feb 2016 17:09:27 +0100 Subject: Do not send langauge in test/hint commands --- js/codeq/prolog.js | 2 -- js/codeq/python.js | 2 -- js/codeq/robot.js | 1 - 3 files changed, 5 deletions(-) diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js index 4ec453d..b2ea3e1 100644 --- a/js/codeq/prolog.js +++ b/js/codeq/prolog.js @@ -290,7 +290,6 @@ along with this program. If not, see . */ jqBtnTest.prop('disabled', true); jqBtnHint.ladda('start'); codeq.comms.sendHint({ - 'language': 'prolog', 'program': editor.getDoc().getValue(), 'problem_id': problemDef.id }) @@ -318,7 +317,6 @@ along with this program. If not, see . */ jqBtnHint.prop('disabled', true); jqBtnTest.ladda('start'); codeq.comms.sendTest({ - 'language': 'prolog', 'program': editor.getDoc().getValue(), 'problem_id': problemDef.id }) diff --git a/js/codeq/python.js b/js/codeq/python.js index 4402fa6..10032e8 100644 --- a/js/codeq/python.js +++ b/js/codeq/python.js @@ -246,7 +246,6 @@ along with this program. If not, see . */ jqBtnTest.prop('disabled', true); jqBtnHint.ladda('start'); codeq.comms.sendHint({ - 'language': 'python', 'program': editor.getDoc().getValue(), 'problem_id': problemDef.id }) @@ -272,7 +271,6 @@ along with this program. If not, see . */ jqBtnHint.prop('disabled', true); jqBtnTest.ladda('start'); codeq.comms.sendTest({ - 'language': 'python', 'program': editor.getDoc().getValue(), 'problem_id': problemDef.id }) diff --git a/js/codeq/robot.js b/js/codeq/robot.js index 8b23e44..f5c04a1 100644 --- a/js/codeq/robot.js +++ b/js/codeq/robot.js @@ -245,7 +245,6 @@ along with this program. If not, see . */ editor.setOption('readOnly', true); jqBtnHint.ladda('start'); codeq.comms.sendHint({ - 'language': 'robot', 'program': editor.getDoc().getValue(), 'problem_id': problemDef.id }) -- cgit v1.2.1