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 328: Line 328:
                 .map(([key, value]) => ([removePrefix(key), value]))
                 .map(([key, value]) => ([removePrefix(key), value]))
                 .sort(([keyA,], [keyB,]) => sortOrder.indexOf(keyA) - sortOrder.indexOf(keyB))
                 .sort(([keyA,], [keyB,]) => sortOrder.indexOf(keyA) - sortOrder.indexOf(keyB))
                .forEach(([categoryName, results]) => {
                    functionsData.set(
                        categoryName,
                        {
                            [DESC_KEY]: results.printouts[DESC_KEY][0],
                            [FUNC_KEY]: results.printouts[FUNC_KEY].map(func => removePrefix(func.fulltext))
                        }
                    );
                });


                 console.log('BLA', x)
                 console.log('BLA', x)

Revision as of 15:53, 16 November 2022

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