diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-04 16:55:36 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-04 16:55:36 +0200 |
commit | 3752341cf43043fe89742baff35ad74df9fe0f4d (patch) | |
tree | 05d7cabe2e55c3f0d4454e32951e74dfffc9ca77 /js/codeq | |
parent | 3a6dce51204e33fb063c504b442822067b1ac008 (diff) |
Initial Python intepreter implementation
Using the new codeq.console library.
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/comms.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js index 8b89cde..25c1f8c 100644 --- a/js/codeq/comms.js +++ b/js/codeq/comms.js @@ -121,6 +121,16 @@ return send('query', query); }, + sendPush: function commsSendPush (json) { + json['sid'] = codeq.sid; + return send('python_push', json); + }, + + sendPull: function commsSendPull (json) { + json['sid'] = codeq.sid; + return send('python_pull', json); + }, + sendHint: function commsSendHint (json) { json['sid'] = codeq.sid; return send('hint', json); |