Skip to content

Commit

Permalink
Merge 7252a8a into aa3aa20
Browse files Browse the repository at this point in the history
  • Loading branch information
mraineri committed May 1, 2019
2 parents aa3aa20 + 7252a8a commit 15ecd7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ const ParserCommon = require('./ParserCommon');
class Annotation extends ParserCommon {
constructor(element) {
super();
this.Annotations = {};
this.validElements = {
'Collection': {parent: this, name: 'Collection'},
'Record': {parent: this, name: 'Record'},
'String': {parent: this, name: 'String', getText: true}
'String': {parent: this, name: 'String', getText: true},
'Annotation': {parent: this.Annotations, nameProp: 'Term'}
};
this.validAttributes = {
'Term': {alreadyHandeled: true},
Expand Down

0 comments on commit 15ecd7c

Please sign in to comment.