equal
deleted
inserted
replaced
15 _ann.title = _s.title; |
15 _ann.title = _s.title; |
16 _ann.description = _s.abstract; |
16 _ann.description = _s.abstract; |
17 _ann.begin = new IriSP.Model.Time(_s.start_ts); |
17 _ann.begin = new IriSP.Model.Time(_s.start_ts); |
18 _ann.end = new IriSP.Model.Time(_s.start_ts + _s.duration); |
18 _ann.end = new IriSP.Model.Time(_s.start_ts + _s.duration); |
19 _ann.keywords = _s.tags.split(","); |
19 _ann.keywords = _s.tags.split(","); |
|
20 _ann.project_id = _s.project_id; |
20 _annotationlist.push(_ann); |
21 _annotationlist.push(_ann); |
21 } |
22 } |
22 |
23 |
23 if (typeof _data.objects !== "undefined") { |
24 if (typeof _data.objects !== "undefined") { |
24 IriSP._(_data.objects).each(deserializeObject); |
25 IriSP._(_data.objects).each(deserializeObject); |
26 deserializeObject(_data); |
27 deserializeObject(_data); |
27 } |
28 } |
28 _source.addList("annotation", _annotationlist); |
29 _source.addList("annotation", _annotationlist); |
29 } |
30 } |
30 } |
31 } |
|
32 |
|
33 /* END segmentapi-serializer.js */ |