Differential D9911 Diff 23791 webroot/rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadSource.js
Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/externals/javelin/lib/control/typeahead/source/TypeaheadSource.js
| Show All 19 Lines | JX.install('TypeaheadSource', { | ||||
| properties : { | properties : { | ||||
| /** | /** | ||||
| * Allows you to specify a function which will be used to normalize strings. | * Allows you to specify a function which will be used to normalize strings. | ||||
| * Strings are normalized before being tokenized, and before being sent to | * Strings are normalized before being tokenized, and before being sent to | ||||
| * the server. The purpose of normalization is to strip out irrelevant data, | * the server. The purpose of normalization is to strip out irrelevant data, | ||||
| * like uppercase/lowercase, extra spaces, or punctuation. By default, | * like uppercase/lowercase, extra spaces, or punctuation. By default, | ||||
| * the @{JX.TypeaheadNormalizer} is used to normalize strings, but you may | * the @{JX.TypeaheadNormalizer} is used to normalize strings, but you may | ||||
| * want to provide a different normalizer, particiularly if there are | * want to provide a different normalizer, particularly if there are | ||||
| * special characters with semantic meaning in your object names. | * special characters with semantic meaning in your object names. | ||||
| * | * | ||||
| * @param function | * @param function | ||||
| */ | */ | ||||
| normalizer : null, | normalizer : null, | ||||
| /** | /** | ||||
| * If a typeahead query should be processed before being normalized and | * If a typeahead query should be processed before being normalized and | ||||
| ▲ Show 20 Lines • Show All 335 Lines • Show Last 20 Lines | |||||