}
/**
- * @param {Object} autocompleteSuggestion the particular autocomplete
- * suggestion we're in the process of displaying.
+ * @param {AutocompleteMatchMojo} autocompleteSuggestion the particular
+ * autocomplete suggestion we're in the process of displaying.
* @param {string} propertyName the particular property of the autocomplete
* suggestion that should go in this cell.
* @return {HTMLTableCellElement} that contains the value within this
// Javascript? In any case, we want to display them.)
if (inDetailedMode) {
for (var key in autocompleteSuggestion) {
- if (!displayedProperties[key]) {
+ if (!displayedProperties[key] &&
+ typeof autocompleteSuggestion[key] != 'function') {
var cell = document.createElement('td');
cell.textContent = key + '=' + autocompleteSuggestion[key];
row.appendChild(cell);