{"action":"created","issue":{"url":"https://api.github.com/repos/callmehiphop/hey/issues/2","labels_url":"https://api.github.com/repos/callmehiphop/hey/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/callmehiphop/hey/issues/2/comments","events_url":"https://api.github.com/repos/callmehiphop/hey/issues/2/events","html_url":"https://github.com/callmehiphop/hey/issues/2","id":54043843,"number":2,"title":"Contribute","user":{"login":"cobrowserAlex","id":10495775,"avatar_url":"https://avatars.githubusercontent.com/u/10495775?v=3","gravatar_id":"","url":"https://api.github.com/users/cobrowserAlex","html_url":"https://github.com/cobrowserAlex","followers_url":"https://api.github.com/users/cobrowserAlex/followers","following_url":"https://api.github.com/users/cobrowserAlex/following{/other_user}","gists_url":"https://api.github.com/users/cobrowserAlex/gists{/gist_id}","starred_url":"https://api.github.com/users/cobrowserAlex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cobrowserAlex/subscriptions","organizations_url":"https://api.github.com/users/cobrowserAlex/orgs","repos_url":"https://api.github.com/users/cobrowserAlex/repos","events_url":"https://api.github.com/users/cobrowserAlex/events{/privacy}","received_events_url":"https://api.github.com/users/cobrowserAlex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T11:33:22Z","updated_at":"2015-01-12T16:11:06Z","closed_at":null,"body":"Hey (pun intended)\r\n\r\nI wanted to contribute, but the karma task doesn't seem to run. I couldn't run the dist task.\r\nWhat i wanted to add is being able to handle 'stop'ping handlers for an event that doesn't exist.\r\n\r\n```\r\n    /**\r\n     * Removes listeners from the scope regardless of the scope to which they were added.\r\n     *\r\n     * If a callback is provided it will only remove that single callback, otherwise all\r\n     * listeners listening to the given event will be removed.\r\n     *\r\n     * @param {string} eventName Name of the even which listeners should be removed\r\n     * @param {function} [callback] Optionally a single callback which should be removed\r\n     */\r\n    function stop(eventName, callback) {\r\n      var group = listeners[eventName];\r\n      var i = group ? group.length - 1 : false;\r\n\r\n      function shouldBeDeleted(listener) {\r\n        return callback ? listener.cb === callback : true;\r\n      }\r\n\r\n      if(group) {\r\n        for (; i > -1; i--) {\r\n          if (shouldBeDeleted(group[i])) {\r\n            group.splice(i, 1)[0].destroy();\r\n          }\r\n        }\r\n      }\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/callmehiphop/hey/issues/comments/69594234","html_url":"https://github.com/callmehiphop/hey/issues/2#issuecomment-69594234","issue_url":"https://api.github.com/repos/callmehiphop/hey/issues/2","id":69594234,"user":{"login":"callmehiphop","id":1707267,"avatar_url":"https://avatars.githubusercontent.com/u/1707267?v=3","gravatar_id":"","url":"https://api.github.com/users/callmehiphop","html_url":"https://github.com/callmehiphop","followers_url":"https://api.github.com/users/callmehiphop/followers","following_url":"https://api.github.com/users/callmehiphop/following{/other_user}","gists_url":"https://api.github.com/users/callmehiphop/gists{/gist_id}","starred_url":"https://api.github.com/users/callmehiphop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callmehiphop/subscriptions","organizations_url":"https://api.github.com/users/callmehiphop/orgs","repos_url":"https://api.github.com/users/callmehiphop/repos","events_url":"https://api.github.com/users/callmehiphop/events{/privacy}","received_events_url":"https://api.github.com/users/callmehiphop/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T16:11:06Z","updated_at":"2015-01-12T16:11:06Z","body":"hey @cobrowserAlex \r\n\r\nThanks for wanting to contribute! I'm not 100% sure I understand your request, but maybe we could get your grunt tasks working and you could submit a pr from there.\r\n\r\n1. What kind of error is Grunt reporting when you try and run karma/dist?\r\n2. What version of Grunt are you running?\r\n3. What version of node are you running?"}}