{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/367","labels_url":"https://api.github.com/repos/segmentio/nightmare/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/nightmare/issues/367/comments","events_url":"https://api.github.com/repos/segmentio/nightmare/issues/367/events","html_url":"https://github.com/segmentio/nightmare/pull/367","id":120445929,"number":367,"title":"Custom event","user":{"login":"rosshinkley","id":1823131,"avatar_url":"https://avatars.githubusercontent.com/u/1823131?v=3","gravatar_id":"","url":"https://api.github.com/users/rosshinkley","html_url":"https://github.com/rosshinkley","followers_url":"https://api.github.com/users/rosshinkley/followers","following_url":"https://api.github.com/users/rosshinkley/following{/other_user}","gists_url":"https://api.github.com/users/rosshinkley/gists{/gist_id}","starred_url":"https://api.github.com/users/rosshinkley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosshinkley/subscriptions","organizations_url":"https://api.github.com/users/rosshinkley/orgs","repos_url":"https://api.github.com/users/rosshinkley/repos","events_url":"https://api.github.com/users/rosshinkley/events{/privacy}","received_events_url":"https://api.github.com/users/rosshinkley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-04T17:15:39Z","updated_at":"2015-12-09T17:29:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/segmentio/nightmare/pulls/367","html_url":"https://github.com/segmentio/nightmare/pull/367","diff_url":"https://github.com/segmentio/nightmare/pull/367.diff","patch_url":"https://github.com/segmentio/nightmare/pull/367.patch"},"body":"Adds ability to add custom events that can be emitted with `ipc.send` from `evaluate` or `inject`.  Fixes #354."},"comment":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/comments/163332902","html_url":"https://github.com/segmentio/nightmare/pull/367#issuecomment-163332902","issue_url":"https://api.github.com/repos/segmentio/nightmare/issues/367","id":163332902,"user":{"login":"matthewmueller","id":170299,"avatar_url":"https://avatars.githubusercontent.com/u/170299?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewmueller","html_url":"https://github.com/matthewmueller","followers_url":"https://api.github.com/users/matthewmueller/followers","following_url":"https://api.github.com/users/matthewmueller/following{/other_user}","gists_url":"https://api.github.com/users/matthewmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewmueller/subscriptions","organizations_url":"https://api.github.com/users/matthewmueller/orgs","repos_url":"https://api.github.com/users/matthewmueller/repos","events_url":"https://api.github.com/users/matthewmueller/events{/privacy}","received_events_url":"https://api.github.com/users/matthewmueller/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T17:29:50Z","updated_at":"2015-12-09T17:29:50Z","body":"Sweet! I think the API should be `.bind(...)` though. It's more familiar to folks: \r\n\r\n- http://api.jquery.com/bind/\r\n- https://github.com/component/event"}}