{"action":"created","issue":{"url":"https://api.github.com/repos/Olical/EventEmitter/issues/117","repository_url":"https://api.github.com/repos/Olical/EventEmitter","labels_url":"https://api.github.com/repos/Olical/EventEmitter/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/Olical/EventEmitter/issues/117/comments","events_url":"https://api.github.com/repos/Olical/EventEmitter/issues/117/events","html_url":"https://github.com/Olical/EventEmitter/issues/117","id":169383289,"number":117,"title":"off -> removeEvent when passed only one argument","user":{"login":"Kasheftin","id":379267,"avatar_url":"https://avatars.githubusercontent.com/u/379267?v=3","gravatar_id":"","url":"https://api.github.com/users/Kasheftin","html_url":"https://github.com/Kasheftin","followers_url":"https://api.github.com/users/Kasheftin/followers","following_url":"https://api.github.com/users/Kasheftin/following{/other_user}","gists_url":"https://api.github.com/users/Kasheftin/gists{/gist_id}","starred_url":"https://api.github.com/users/Kasheftin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kasheftin/subscriptions","organizations_url":"https://api.github.com/users/Kasheftin/orgs","repos_url":"https://api.github.com/users/Kasheftin/repos","events_url":"https://api.github.com/users/Kasheftin/events{/privacy}","received_events_url":"https://api.github.com/users/Kasheftin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-04T14:08:08Z","updated_at":"2016-08-04T14:13:41Z","closed_at":null,"body":"That's not an issue really, just a though. \r\nWhat if calling off with only one argument (the event name) will call removeAllListeners method instead of   removeListener?"},"comment":{"url":"https://api.github.com/repos/Olical/EventEmitter/issues/comments/237565512","html_url":"https://github.com/Olical/EventEmitter/issues/117#issuecomment-237565512","issue_url":"https://api.github.com/repos/Olical/EventEmitter/issues/117","id":237565512,"user":{"login":"Kasheftin","id":379267,"avatar_url":"https://avatars.githubusercontent.com/u/379267?v=3","gravatar_id":"","url":"https://api.github.com/users/Kasheftin","html_url":"https://github.com/Kasheftin","followers_url":"https://api.github.com/users/Kasheftin/followers","following_url":"https://api.github.com/users/Kasheftin/following{/other_user}","gists_url":"https://api.github.com/users/Kasheftin/gists{/gist_id}","starred_url":"https://api.github.com/users/Kasheftin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kasheftin/subscriptions","organizations_url":"https://api.github.com/users/Kasheftin/orgs","repos_url":"https://api.github.com/users/Kasheftin/repos","events_url":"https://api.github.com/users/Kasheftin/events{/privacy}","received_events_url":"https://api.github.com/users/Kasheftin/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T14:13:41Z","updated_at":"2016-08-04T14:13:41Z","body":"I mean `off` word is very popular, jquery uses it for unsubscribing from events. And there (in jquery code) the second argument is optional. So it may confuse that eventEmitter.off(\"someEvent\") does not work at all, and one has to use removeEvent instead."}}
{"actor":{"display_login":"Kasheftin"}}