Remove unnecessary comments

This commit is contained in:
Bálint Bokros 2017-11-27 18:54:54 +01:00
parent ce2ae58075
commit f6a8bf6239
1 changed files with 0 additions and 11 deletions

View File

@ -1,16 +1,5 @@
let ws = new WebSocket('ws://' + document.location.host + '/ws');
// ws.onopen = function() {
// ws.send(JSON.stringify({
// 'anchor': '',
// 'data': 'Hello, World!'
// }));
// };
// TODO: annotate objects that can fire events
// TODO: annotate objects that should receive response from events
// TODO: work out object notation for events that are fired
// TODO: work out object notation for responses
$('#container').on('click', '.anchor', ( function (event) {
let anchorName = $(this).attr('id').replace('_event', '');