summaryrefslogtreecommitdiff
path: root/js/codeq/comms.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r--js/codeq/comms.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js
index 5908e0d..fe609c9 100644
--- a/js/codeq/comms.js
+++ b/js/codeq/comms.js
@@ -436,6 +436,13 @@
});
},
+ getAttempts: function commsGetAttempts (language) {
+ return this.send({
+ 'action': 'get_attempts',
+ 'language': language
+ });
+ },
+
loadProblem: function commsLoadProblem (problem_id) {
return this.send({
'action': 'load_problem',