rubygoldberg-tracker/watcher/static/index.js

11 lines
269 B
JavaScript

import io from 'socket.io-client';
$(function() {
var socket = io();
socket.on('start_run', function(run_index){
})
socket.on('link_start', function(link_id) {
$('#current_run').append($('<div class="item>"</div>').text(link_id));
});
});