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

Function.prototype.apply can be undefined #66

Open
joker-777 opened this issue Nov 14, 2019 · 2 comments
Open

Function.prototype.apply can be undefined #66

joker-777 opened this issue Nov 14, 2019 · 2 comments

Comments

@joker-777
Copy link

Hi,

our js error tracker is telling us that Function.prototype.apply in this line
https://github.com/Gozala/events/blob/f6f6a376252519dfc27740b5b7fb7d69fcde44f1/events.js#L28 can be undefined and then calling call on it raises an error. It mainly happens on ios with safari but also sometimes on chrome (ios).
Do you have any idea why this can happens and how to fix it?

Thanks!

@goto-bus-stop
Copy link
Member

that's…very strange, .apply() should be available pretty much anywhere. can you share the exact error message and the browser versions that they're happening on?

@joker-777
Copy link
Author

@goto-bus-stop Thanks a lot for your response. Here are a few screenshots with more information.

Screenshot_20191125_102322
Screenshot_20191125_102620
Screenshot_20191125_102244

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