diff options
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r-- | js/codeq/comms.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js index 5ac3d66..ecca6ff 100644 --- a/js/codeq/comms.js +++ b/js/codeq/comms.js @@ -301,6 +301,10 @@ return this.connect().then(performLogin); }, + 'updateSettings': function (new_settings){ + return this.send({'action': 'settings', 'sid': sid, 'settings': new_settings}); + }, + sendActivity: function commsSendActivity (trace, solution, problem_id) { return this.send({'action': 'activity', 'trace': trace, 'solution': solution, 'problem_id': problem_id}); }, |