rubygoldberg-tracker/watcher/static/index.js

12 lines
269 B
JavaScript
Raw Normal View History

import io from 'socket.io-client';
2019-09-20 17:16:45 +02:00
$(function() {
var socket = io();
socket.on('start_run', function(run_index){
})
socket.on('link_start', function(link_id) {
2019-09-20 17:16:45 +02:00
$('#current_run').append($('<div class="item>"</div>').text(link_id));
});
});