function filterForKeyword(extensionList, word) {
            var filteredList = [];
            extensionList.forEach(function (id) {
                var entry = self._getEntry(id);
                if (entry && self._entryMatchesQuery(entry, word)) {
                    filteredList.push(id);
                }
            });
            return filteredList;
        }
function filterForKeyword(extensionList, word) {
            var filteredList = [];
            extensionList.forEach(function (id) {
                var entry = self._getEntry(id);
                if (entry && self._entryMatchesQuery(entry, word)) {
                    filteredList.push(id);
                }
            });
            return filteredList;
        }
function filterForKeyword ( extensionList , word ) { var filteredList = [ ] ; extensionList . forEach ( function ( id ) { var entry = self . _getEntry ( id ) ; if ( entry && self . _entryMatchesQuery ( entry , word ) ) { filteredList . push ( id ) ; } } ) ; return filteredList ; }
Takes 'extensionList' and returns a version filtered to only those that match 'keyword'
Takes extensionList and returns a version filtered to only those that match keyword
filterForKeyword - Filter for a given word