equal
deleted
inserted
replaced
21 type: ( typeof _annType.dont_send_id !== "undefined" && _annType.dont_send_id ? "" : _annType.id ), |
21 type: ( typeof _annType.dont_send_id !== "undefined" && _annType.dont_send_id ? "" : _annType.id ), |
22 meta: { |
22 meta: { |
23 created: _data.created, |
23 created: _data.created, |
24 creator: _data.creator |
24 creator: _data.creator |
25 } |
25 } |
26 } |
26 }; |
27 }, |
27 }, |
28 deserializeAnnotation : function(_anndata, _source) { |
28 deserializeAnnotation : function(_anndata, _source) { |
29 var _ann = new IriSP.Model.Annotation(_anndata.id, _source); |
29 var _ann = new IriSP.Model.Annotation(_anndata.id, _source); |
30 _ann.description = _anndata.content.description || ""; |
30 _ann.description = _anndata.content.description || ""; |
31 _ann.title = _anndata.content.title || ""; |
31 _ann.title = _anndata.content.title || ""; |