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

"Invalid calling object" error in isString function in IE #4

Closed
fmcgough opened this issue Feb 25, 2016 · 2 comments
Closed

"Invalid calling object" error in isString function in IE #4

fmcgough opened this issue Feb 25, 2016 · 2 comments

Comments

@fmcgough
Copy link

I've run into a bug using this library in Internet Explorer (version 11) - inside the isString helper function, the call to toString.call(value) results in a TypeError with message "Invalid calling object". A little experimentation suggests that replacing it with Object.prototype.toString.call(value) should fix the issue.

@pauldijou
Copy link
Owner

Thanks for the report! Should be fixed in 0.2.1. Mind giving it a try? I don't really have any Internet Explorer with me right now...

@fmcgough
Copy link
Author

That's working perfectly for me now, thanks for the quick response!

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