client/annotviz/app/annotstimeline.html
changeset 135 d3066fa80a81
parent 133 12f782a13fa2
equal deleted inserted replaced
134:119b6193c493 135:d3066fa80a81
    27     <script src="/js/annotviz.js"></script>
    27     <script src="/js/annotviz.js"></script>
    28     <script>
    28     <script>
    29 
    29 
    30         var annotationChannel = 'ANNOT';
    30         var annotationChannel = 'ANNOT';
    31         var eventCode = 'atelier2';
    31         var eventCode = 'atelier2';
    32         var eventCodeSessionDay1 = 'atelier2_jour2';
       
    33         var wsUri;
    32         var wsUri;
    34         if (window.location.protocol === 'file:') {
    33         if (window.location.protocol === 'file:') {
    35             wsUri = 'ws://127.0.0.1:8090/broadcast';
    34             wsUri = 'ws://127.0.0.1:8090/broadcast';
    36         }
    35         }
    37         else {
    36         else {
    82             maxCellHeight: 100,
    81             maxCellHeight: 100,
    83             radius: 300,
    82             radius: 300,
    84             circleX:500,
    83             circleX:500,
    85             circleY:450,
    84             circleY:450,
    86             eventCode: eventCode,
    85             eventCode: eventCode,
    87             eventCodeSessionDay1: eventCodeSessionDay1,
       
    88             channel: annotationChannel,
    86             channel: annotationChannel,
    89             annotCategories: annotCategories
    87             annotCategories: annotCategories
    90         });
    88         });
    91 
    89 
    92         function stop() {
    90         function stop() {