Widget: DevGuidelines: Difference between revisions
From LINKS Community Center
Cschwentker (talk | contribs) No edit summary |
Cschwentker (talk | contribs) No edit summary |
||
Line 269: | Line 269: | ||
console.log(guidelines); | console.log(guidelines); | ||
let COVERS_THEMATIC_VALUES = [] | let COVERS_THEMATIC_VALUES = [] | ||
let LANGUAGES_VALUES = []; | let LANGUAGES_VALUES = []; | ||
let TARGET_AUDIENCE_VALUES = []; | |||
let EXPERIENCE_LEVEL_VALUES = []: | |||
for(const guideline of guidelines){ | for(const guideline of guidelines){ | ||
Line 276: | Line 279: | ||
LANGUAGES_VALUES = LANGUAGES_VALUES.concat(guideline[LANG_PROP]); | LANGUAGES_VALUES = LANGUAGES_VALUES.concat(guideline[LANG_PROP]); | ||
COVERS_THEMATIC_VALUES = COVERS_THEMATIC_VALUES.concat(guideline[THEME_PROP]) | COVERS_THEMATIC_VALUES = COVERS_THEMATIC_VALUES.concat(guideline[THEME_PROP]) | ||
TARGET_AUDIENCE_VALUES = TARGET_AUDIENCE_VALUES.concat(guideline[TA_PROP]) | |||
EXPERIENCE_LEVEL_VALUES = EXPERIENCE_LEVEL_VALUES.concat(guideline[EX_PROP]) | |||
} | } | ||
LANGUAGES_VALUES = new Set(LANGUAGES_VALUES); | |||
console.log(LANGUAGES_VALUES); | console.log(LANGUAGES_VALUES); | ||
Revision as of 15:47, 22 November 2022
Development version of the List of Guidelines.
Not ready for production!