hiddentao / fast-levenshtein

Efficient Javascript implementation of Levenshtein algorithm with locale-specific collator support.
MIT License
596 stars 56 forks source link

Edge throws - Locale 'generic' is not well-formed #17

Closed benchik closed 8 years ago

benchik commented 8 years ago

Where is the "generic" param to Intl.Collator() defined? I see that the get() function accepts options.useCollator, but there probably should be a param to the script initialization of whether to use Intl at all (not using it means not to try calling Intl at all).

hiddentao commented 8 years ago

Fixed in 2.0.5