browserify / browserify/events

Function.prototype.apply can be undefined

Open
#66 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.