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
The documentation for the argument suggests it can be an array like: callbacks.remove([func1, func2]). This does not work. But callbacks.remove(func1, func2) does. The documentation should clarify this.
The text was updated successfully, but these errors were encountered:
70ray
changed the title
callbacks.remove(callbacks) argument can be comma sparated list not array
callbacks.remove(callbacks) argument can be comma separated list not array
Jan 29, 2021
Thanks,
In my test it seemed the documentation did not agree with what the code actually did but I am not certain which should be changed and haven't looked into other similar cases to see if there is any consistent pattern.
The current behavior has been in the code forever so it's a de-facto standard, no one could have realistically depended on the documented version. The fix needs to land in the documentation.
The documentation for the argument suggests it can be an array like: callbacks.remove([func1, func2]). This does not work. But callbacks.remove(func1, func2) does. The documentation should clarify this.
The text was updated successfully, but these errors were encountered: