From 3752341cf43043fe89742baff35ad74df9fe0f4d Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 4 Sep 2015 16:55:36 +0200 Subject: Initial Python intepreter implementation Using the new codeq.console library. --- js/codeq/comms.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'js/codeq/comms.js') 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); -- cgit v1.2.1