equal
deleted
inserted
replaced
1 /* Used when Putting annotations on the platform */ |
1 /* ldt_annotate serializer: Used when Putting annotations on the platform */ |
2 |
2 |
3 if (typeof IriSP.serializers === "undefined") { |
3 if (typeof IriSP.serializers === "undefined") { |
4 IriSP.serializers = {} |
4 IriSP.serializers = {}; |
5 } |
5 } |
6 |
6 |
7 IriSP.serializers.ldt_annotate = { |
7 IriSP.serializers.ldt_annotate = { |
8 serializeAnnotation : function(_data, _source) { |
8 serializeAnnotation : function(_data, _source) { |
9 var _annType = _data.getAnnotationType(); |
9 var _annType = _data.getAnnotationType(); |
70 _source.addList('tag', new IriSP.Model.List(_source.directory)); |
70 _source.addList('tag', new IriSP.Model.List(_source.directory)); |
71 _source.addList('annotationType', new IriSP.Model.List(_source.directory)); |
71 _source.addList('annotationType', new IriSP.Model.List(_source.directory)); |
72 _source.addList('annotation', new IriSP.Model.List(_source.directory)); |
72 _source.addList('annotation', new IriSP.Model.List(_source.directory)); |
73 this.deserializeAnnotation(_data, _source); |
73 this.deserializeAnnotation(_data, _source); |
74 } |
74 } |
75 } |
75 }; |
|
76 |
|
77 /* End ldt_annotate serializer */ |