equal
deleted
inserted
replaced
75 } */ |
75 } */ |
76 for (i = 0; i < annotations.length; i++) { |
76 for (i = 0; i < annotations.length; i++) { |
77 var obj = this.transformAnnotation(annotations[i]); |
77 var obj = this.transformAnnotation(annotations[i]); |
78 obj.iterator = i; |
78 obj.iterator = i; |
79 obj.distance = Math.abs((annotations[i].end + annotations[i].begin) / 2000 - currentTime); |
79 obj.distance = Math.abs((annotations[i].end + annotations[i].begin) / 2000 - currentTime); |
80 list.push(obj); |
80 if (!this.cinecast_version || annotations[i].type == "cinecast:UserAnnotation") { |
|
81 list.push(obj); |
|
82 } |
|
83 |
81 } |
84 } |
82 |
85 |
83 list = IriSP.underscore(list) |
86 list = IriSP.underscore(list) |
84 .chain() |
87 .chain() |
85 .sortBy(function(_o) { |
88 .sortBy(function(_o) { |