in the old release,there is something like EventDispatcher:removeAllEventListeners(type) if type is not nil, all listeners for that event type are removed if nil, all listeners for that object are removed. is it removed now?
I had not keep an old release. In my memory, there's such an api. I began use Gideros from the beta release,and do not know from which release it was removed. And I think this may useful in some situations,for example, anonymous listener
Comments
I think I've never heard of such function.
Can you specify an approximate release?
In my memory, there's such an api.
I began use Gideros from the beta release,and do not know from which release it was removed.
And I think this may useful in some situations,for example, anonymous listener
Maybe I have made a mistake, this api may exists in other library, maybe nodejs?
After searching the forum, I found @atilim also have mentioned the api years ago in this thread
http://giderosmobile.com/forum/discussion/1427/a-live-repl-like-we-have-in-ruby/p2
But I see how it might benefit having such API