equal
deleted
inserted
replaced
42 |
42 |
43 var annotationMarkup = Mustache.to_html(IriSP.annotationWidget_template, {"share_template" : IriSP.share_template}); |
43 var annotationMarkup = Mustache.to_html(IriSP.annotationWidget_template, {"share_template" : IriSP.share_template}); |
44 IriSP.jQuery("#Ldt-Ligne").append(annotationMarkup); |
44 IriSP.jQuery("#Ldt-Ligne").append(annotationMarkup); |
45 |
45 |
46 var annotations = this._serializer._data.annotations; |
46 var annotations = this._serializer._data.annotations; |
|
47 var i; |
|
48 |
47 for (i in annotations) { |
49 for (i in annotations) { |
48 var annotation = annotations[i]; |
50 var annotation = annotations[i]; |
49 var begin = Math.round((+ annotation.begin) / 1000); |
51 var begin = Math.round((+ annotation.begin) / 1000); |
50 var end = Math.round((+ annotation.end) / 1000); |
52 var end = Math.round((+ annotation.end) / 1000); |
51 |
53 |