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
For example, how I test whether the following handler was already set? Looks like I can catch the exception. Just want to know whether there is a more elegant way.
That would be useful for me as well, as I am getting an error that a handler has already been set when I try to open a child window multiple times in a session. Is there a way to cancel all listeners without storing each listener in a var at the time it is created? Something like postRobot.cancelAll()?
For example, how I test whether the following handler was already set? Looks like I can catch the exception. Just want to know whether there is a more elegant way.
postRobot.on('getUser', function(event) {
....
});
The text was updated successfully, but these errors were encountered: