2019-09-20 17:00:44 +02:00
|
|
|
import io from 'socket.io-client';
|
2019-09-20 17:16:45 +02:00
|
|
|
|
|
|
|
$(function() {
|
|
|
|
var socket = io();
|
2019-09-20 23:50:13 +02:00
|
|
|
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));
|
|
|
|
});
|
|
|
|
});
|