Please sign in to comment.
Use Punctuation Blacklist for Typeahead Normalizer
Summary: This changes the Typeahead normalizer to use a punctuation blacklist instead of stripping all non-alphanumeric characters. As the normalizer stands now, any international characters (e.g. Japanese characters) are stripped. Reviewers: epriestley, jg Test Plan: > JX.TypeaheadNormalizer.normalize('Get rid of the periods...') "get rid of the periods" > JX.TypeaheadNormalizer.normalize('ラジオ') "ラジオ" Differential Revision: 924
- Loading branch information...
Showing with 9 additions and 3 deletions.
12 src/lib/control/typeahead/normalizer/TypeaheadNormalizer.js 100644 → 100755