{"action":"created","issue":{"url":"https://api.github.com/repos/vstirbu/fsm-as-promised/issues/3","labels_url":"https://api.github.com/repos/vstirbu/fsm-as-promised/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/vstirbu/fsm-as-promised/issues/3/comments","events_url":"https://api.github.com/repos/vstirbu/fsm-as-promised/issues/3/events","html_url":"https://github.com/vstirbu/fsm-as-promised/pull/3","id":100513016,"number":3,"title":"Adding callbacks for general purpose events.","user":{"login":"vivekg342","id":981781,"avatar_url":"https://avatars.githubusercontent.com/u/981781?v=3","gravatar_id":"","url":"https://api.github.com/users/vivekg342","html_url":"https://github.com/vivekg342","followers_url":"https://api.github.com/users/vivekg342/followers","following_url":"https://api.github.com/users/vivekg342/following{/other_user}","gists_url":"https://api.github.com/users/vivekg342/gists{/gist_id}","starred_url":"https://api.github.com/users/vivekg342/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivekg342/subscriptions","organizations_url":"https://api.github.com/users/vivekg342/orgs","repos_url":"https://api.github.com/users/vivekg342/repos","events_url":"https://api.github.com/users/vivekg342/events{/privacy}","received_events_url":"https://api.github.com/users/vivekg342/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T10:24:01Z","updated_at":"2015-08-13T18:45:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vstirbu/fsm-as-promised/pulls/3","html_url":"https://github.com/vstirbu/fsm-as-promised/pull/3","diff_url":"https://github.com/vstirbu/fsm-as-promised/pull/3.diff","patch_url":"https://github.com/vstirbu/fsm-as-promised/pull/3.patch"},"body":"javascript-state-machine has general purpose events.\r\n\r\nThese could be useful when doing something generic on all transitions. "},"comment":{"url":"https://api.github.com/repos/vstirbu/fsm-as-promised/issues/comments/130798217","html_url":"https://github.com/vstirbu/fsm-as-promised/pull/3#issuecomment-130798217","issue_url":"https://api.github.com/repos/vstirbu/fsm-as-promised/issues/3","id":130798217,"user":{"login":"vstirbu","id":1288047,"avatar_url":"https://avatars.githubusercontent.com/u/1288047?v=3","gravatar_id":"","url":"https://api.github.com/users/vstirbu","html_url":"https://github.com/vstirbu","followers_url":"https://api.github.com/users/vstirbu/followers","following_url":"https://api.github.com/users/vstirbu/following{/other_user}","gists_url":"https://api.github.com/users/vstirbu/gists{/gist_id}","starred_url":"https://api.github.com/users/vstirbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vstirbu/subscriptions","organizations_url":"https://api.github.com/users/vstirbu/orgs","repos_url":"https://api.github.com/users/vstirbu/repos","events_url":"https://api.github.com/users/vstirbu/events{/privacy}","received_events_url":"https://api.github.com/users/vstirbu/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T18:45:30Z","updated_at":"2015-08-13T18:45:30Z","body":"This is a good addition! \r\n\r\nWouldn't be more intuitive to have the common hooks using `on{leave|enter|entered}` convention? State is not needed as they apply to any state.\r\n\r\nps: test are missing\r\n"}}