Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 228: Line 228:
 
             dct.functions = [];
 
             dct.functions = [];
  
             // functionsData.forEach((value, key) => {
+
             functionsData.forEach((value, key) => {
            //    if (value[FUNC_KEY].some(func =>))
+
                if (value[FUNC_KEY].some(
             // });
+
                    func => dctResult.printouts[func][0] && dctResult.printouts[func][0].fulltext.toLowerCase() === 'yes'
 +
                )) {
 +
                    dct.functions.push(key);
 +
                }
 +
             });
  
 
             // if (hasFunction(dctResult, searchFunctions)) dct.functions.push(FN_SEARCH);
 
             // if (hasFunction(dctResult, searchFunctions)) dct.functions.push(FN_SEARCH);

Revision as of 16:09, 30 August 2022

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