summaryrefslogtreecommitdiff
path: root/js/codeq
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-08-28 17:45:35 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-08-28 17:45:35 +0200
commit1dbb01a159d646a59f4e79277edd864a18570c0e (patch)
tree9131e9ccba0e1c4eef81282124d2a8852b850854 /js/codeq
parent44e18811b945ecac5f2b4ed1613ce4d974473e16 (diff)
Add initial support for hints
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 c2ad715..8b89cde 100644
--- a/js/codeq/comms.js
+++ b/js/codeq/comms.js
@@ -121,6 +121,11 @@
return send('query', query);
},
+ sendHint: function commsSendHint (json) {
+ json['sid'] = codeq.sid;
+ return send('hint', json);
+ },
+
sendTest: function commsSendTest (json) {
json['sid'] = codeq.sid;
return send('test', json);