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

Cannot read property 'underscore' of undefined #5

Closed
timscott opened this issue Jun 14, 2017 · 1 comment
Closed

Cannot read property 'underscore' of undefined #5

timscott opened this issue Jun 14, 2017 · 1 comment

Comments

@timscott
Copy link

Using v2.0.1, I do this:

import {titleize} from 'inflected';
titleize('foo_bar');

And get this error.

Uncaught TypeError: Cannot read property 'underscore' of undefined
    at titleize (inflected.js:389)
@martinandert
Copy link
Owner

Hi Tim, thanks for reporting the bug. It's fixed with the v2.0.2 release.

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

2 participants