equal
deleted
inserted
replaced
133 /* FIXME: DRY the whole thing */ |
133 /* FIXME: DRY the whole thing */ |
134 var annotations = serializer._data.annotations; |
134 var annotations = serializer._data.annotations; |
135 if (IriSP.null_or_undefined(annotations)) |
135 if (IriSP.null_or_undefined(annotations)) |
136 return; |
136 return; |
137 |
137 |
|
138 /* |
|
139 commented in case we wanted to discriminate against some annotation types. |
138 var view_types = serializer.getIds("Contributions"); |
140 var view_types = serializer.getIds("Contributions"); |
|
141 */ |
139 var l = []; |
142 var l = []; |
140 |
143 |
141 var media = this._serializer.currentMedia()["id"]; |
144 var media = this._serializer.currentMedia()["id"]; |
142 |
145 |
143 for (i = 0; i < annotations.length; i++) { |
146 for (i = 0; i < annotations.length; i++) { |