summaryrefslogtreecommitdiff
path: root/js/codeq
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq')
-rw-r--r--js/codeq/comms.js5
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,