You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this. Can you raise a PR for the same after checking what is the behaviour in browsers which do support CustomEvent? I'm on a mobile so can't check it myself right now.
When I extends CustomEvent using babel the prototype is wrongly set to
CustomEventPrototype
instead of my class so I can't call methods of my class.Scenario:
test()
methods:Results:
Expected:
no error
Fix
I find a way to fix that by adding the following code at the end of CustomEvent contructor:
The text was updated successfully, but these errors were encountered: