Revision 61002
Added by Argiro Kokogiannaki almost 3 years ago
parsingFunctions.class.ts | ||
---|---|---|
21 | 21 |
let fundedByProject: Project = { |
22 | 22 |
"id": "", "acronym": "", "title": "", |
23 | 23 |
"funderShortname": "", "funderName": "", |
24 |
"funding": "", "code": "", "provenanceAction": "", "inline": false
|
|
24 |
"funding": "", "code": "", "provenanceAction": "" |
|
25 | 25 |
}; |
26 | 26 |
|
27 | 27 |
if (relation.title != 'unidentified') { |
... | ... | |
545 | 545 |
parseContexts(_contexts: any): { |
546 | 546 |
"labelContext": string, "idContext": string, |
547 | 547 |
"labelCategory": string, "idCategory": string, |
548 |
"labelConcept": string, "idConcept": string, inline: boolean
|
|
548 |
"labelConcept": string, "idConcept": string |
|
549 | 549 |
}[] { |
550 | 550 |
let contexts = new Array<{ |
551 | 551 |
"labelContext": string, "idContext": string, |
552 | 552 |
"labelCategory": string, "idCategory": string, |
553 |
"labelConcept": string, "idConcept": string, inline: boolean
|
|
553 |
"labelConcept": string, "idConcept": string |
|
554 | 554 |
}>(); |
555 | 555 |
|
556 | 556 |
let position = 0; |
... | ... | |
574 | 574 |
|
575 | 575 |
contexts[position] = {"labelContext": "", "idContext": "", |
576 | 576 |
"labelCategory": "", "idCategory": "", |
577 |
"labelConcept": "", "idConcept": "", inline: false};
|
|
577 |
"labelConcept": "", "idConcept": ""}; |
|
578 | 578 |
contexts[position]['labelContext'] = context.label; |
579 | 579 |
contexts[position]['idContext'] = context.id; |
580 | 580 |
contexts[position]['labelCategory'] = category.label; |
... | ... | |
587 | 587 |
} else { |
588 | 588 |
contexts[position] = {"labelContext": "", "idContext": "", |
589 | 589 |
"labelCategory": "", "idCategory": "", |
590 |
"labelConcept": "", "idConcept": "", inline: false};
|
|
590 |
"labelConcept": "", "idConcept": ""}; |
|
591 | 591 |
contexts[position]['labelContext'] = context.label; |
592 | 592 |
contexts[position]['idContext'] = context.id; |
593 | 593 |
contexts[position]['labelCategory'] = category.label; |
... | ... | |
600 | 600 |
} else { |
601 | 601 |
contexts[position] = {"labelContext": "", "idContext": "", |
602 | 602 |
"labelCategory": "", "idCategory": "", |
603 |
"labelConcept": "", "idConcept": "", inline: false};
|
|
603 |
"labelConcept": "", "idConcept": ""}; |
|
604 | 604 |
contexts[position]['labelContext'] = context.label; |
605 | 605 |
contexts[position]['idContext'] = context.id; |
606 | 606 |
contexts[position]['labelCategory'] = null; |
Also available in: Unified diff
[Library|Trunk]
- Remove inline argument for parsed contexts, projects, remove unused code with <mark> tag