Widget: DevGuidelines: Difference between revisions
From LINKS Community Center
Cschwentker (talk | contribs) No edit summary |
Cschwentker (talk | contribs) No edit summary |
||
Line 274: | Line 274: | ||
for(const guideline of guidelines){ | for(const guideline of guidelines){ | ||
LANGUAGES_VALUES.concat(guideline[LANG_PROP]); | LANGUAGES_VALUES = LANGUAGES_VALUES.concat(guideline[LANG_PROP]); | ||
COVERS_THEMATIC_VALUES.concat(guideline[THEME_PROP]) | COVERS_THEMATIC_VALUES = COVERS_THEMATIC_VALUES.concat(guideline[THEME_PROP]) | ||
} | } | ||
const unique= | const unique = LANGUAGES_VALUES.filter((value, index, self) => self.indexOf(value) === index) | ||
console.log(LANGUAGES_VALUES); | console.log(LANGUAGES_VALUES); | ||
console.log(unique); | console.log(unique); |
Revision as of 15:40, 22 November 2022
Development version of the List of Guidelines.
Not ready for production!