autocomplete-highlighters-accentfold-debug.js revision 4bc090583f2a5d4fee80ca7a79a993d4e5ac14ec
/**
Provides pre-built accent-folding result highlighters for AutoComplete.
These highlighters are similar to the ones provided by the `autocomplete-
highlighters` module, but use accent-aware comparisons. For example, "resume"
and "résumé" will be considered equal when using the accent-folding
highlighters.
@module autocomplete
@submodule autocomplete-highlighters-accentfold
**/
/**
@class AutoCompleteHighlighters
@static
**/
YArray = Y.Array;
/**
Accent-folding version of `charMatch()`.
@method charMatchFold
@param {String} query Query to match
@param {Array} results Results to highlight
@return {Array} Highlighted results
@static
**/
});
},
/**
Accent-folding version of `phraseMatch()`.
@method phraseMatchFold
@param {String} query Query to match
@param {Array} results Results to highlight
@return {Array} Highlighted results
@static
**/
});
},
/**
Accent-folding version of `startsWith()`.
@method startsWithFold
@param {String} query Query to match
@param {Array} results Results to highlight
@return {Array} Highlighted results
@static
**/
startsWith: true
});
});
},
/**
Accent-folding version of `subWordMatch()`.
@method subWordMatchFold
@param {String} query Query to match
@param {Array} results Results to highlight
@return {Array} Highlighted results
@static
**/
});
},
/**
Accent-folding version of `wordMatch()`.
@method wordMatchFold
@param {String} query Query to match
@param {Array} results Results to highlight
@return {Array} Highlighted results
@static
**/
});
}
});