Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 340: Line 340:
                         {
                         {
                             [DESC_KEY]: results.printouts[DESC_KEY][0],
                             [DESC_KEY]: results.printouts[DESC_KEY][0],
                             [FUNC_KEY]: results.printouts[FUNC_KEY].map(func => removePrefix(func.fulltext)).sort()
                             [FUNC_KEY]: results.printouts[FUNC_KEY]
                                .map(func => removePrefix(func.fulltext))
                                .filter(func => func !== 'Content processing languages' && func !== 'Supported content types')
                                .sort()
                         }
                         }
                     );
                     );
                 });
                 });


             const allFunctions = Array.from(functionsData.values(), entry => entry[FUNC_KEY]).flat()
             const allFunctions = Array.from(functionsData.values(), entry => entry[FUNC_KEY]).flat();
                .filter(subfn => subfn !== 'Content processing languages' && subfn !== 'Supported content types');


             console.log(allFunctions)
             console.log(allFunctions)

Revision as of 13:43, 2 December 2022

Development verstion of the DCT List.
Not ready for production!