Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined is not a function (evaluating 'string.toLowerCase()') #27

Closed
justinireland opened this issue Sep 30, 2016 · 3 comments
Closed
Milestone

Comments

@justinireland
Copy link

I'm getting the error with the following trace:
match
fuzzy.js: 50

fuzzy.js: 120

filter
fuzzy.js :115

as soon as I try to filter for even a single character. I've verified my input is a string and the list I'm filtering against is an array of objects with only string values.

Sorry I cannot cut and paste the error msgs as I'm using this in a React Native app and the error is reported in the Android emulator.

@nicolaerusan
Copy link

Hit the same issue :)

@mattyork
Copy link
Owner

mattyork commented Oct 1, 2016

I'm assuming this is an issue with using the keyword "string". Changing the var name. We'll see if that works.

@mattyork mattyork added this to the 0.1.3 milestone Oct 1, 2016
@justinireland
Copy link
Author

I updated and now I'm getting the same error except 'str.toLowerCase()'

Maybe lets confirm the issue is fixed before closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants