diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-08-27 18:25:03 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-08-27 18:25:03 +0200 |
commit | fabdc0472b6f2828e34f01a13fc3fa738f9eab5d (patch) | |
tree | 3bc955c35af4e437a93ed0184c27109cce1554d9 /js/codeq | |
parent | ad1451c4d5ca6dfcb31b3559b98f78b318159a09 (diff) |
Add testing functionality
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/comms.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js index cff1015..c2ad715 100644 --- a/js/codeq/comms.js +++ b/js/codeq/comms.js @@ -121,6 +121,11 @@ return send('query', query); }, + sendTest: function commsSendTest (json) { + json['sid'] = codeq.sid; + return send('test', json); + }, + getProblem: function commsGetProblem (language, problem_group, problem) { return send('get_problem', { 'sid': codeq.sid, |