diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-02-22 17:09:27 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-02-22 17:09:27 +0100 |
commit | 898c828c741cbc947b1ead35dfce6bf08c0302e5 (patch) | |
tree | 4b492f609ab44f93ef75b91e9415638d593caa4b /js/codeq | |
parent | 4ca9640cfc89fc351503d5cc1df56a05c68fbd02 (diff) |
Do not send langauge in test/hint commands
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/prolog.js | 2 | ||||
-rw-r--r-- | js/codeq/python.js | 2 | ||||
-rw-r--r-- | js/codeq/robot.js | 1 |
3 files changed, 0 insertions, 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 <http://www.gnu.org/licenses/>. */ 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 <http://www.gnu.org/licenses/>. */ 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 <http://www.gnu.org/licenses/>. */ 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 <http://www.gnu.org/licenses/>. */ 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 <http://www.gnu.org/licenses/>. */ editor.setOption('readOnly', true); jqBtnHint.ladda('start'); codeq.comms.sendHint({ - 'language': 'robot', 'program': editor.getDoc().getValue(), 'problem_id': problemDef.id }) |