MCPcopy Create free account
hub / github.com/Semantic-Org/Semantic-UI-CSS / addResult

Function addResult

semantic.js:14164–14173  ·  view source on GitHub ↗
(array, result)

Source from the content-addressed store, hash-verified

14162
14163 // avoid duplicates when pushing results
14164 addResult = function(array, result) {
14165 var
14166 notResult = ($.inArray(result, results) == -1),
14167 notFuzzyResult = ($.inArray(result, fuzzyResults) == -1),
14168 notExactResults = ($.inArray(result, exactResults) == -1)
14169 ;
14170 if(notResult && notFuzzyResult && notExactResults) {
14171 array.push(result);
14172 }
14173 }
14174 ;
14175 source = source || settings.source;
14176 searchFields = (searchFields !== undefined)

Callers 1

semantic.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…