{"action":"opened","issue":{"url":"https://api.github.com/repos/phetsims/curve-fitting/issues/79","repository_url":"https://api.github.com/repos/phetsims/curve-fitting","labels_url":"https://api.github.com/repos/phetsims/curve-fitting/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/curve-fitting/issues/79/comments","events_url":"https://api.github.com/repos/phetsims/curve-fitting/issues/79/events","html_url":"https://github.com/phetsims/curve-fitting/issues/79","id":164548070,"number":79,"title":"Events are deprecated. Use Emitted instead.","user":{"login":"veillette","id":7633344,"avatar_url":"https://avatars.githubusercontent.com/u/7633344?v=3","gravatar_id":"","url":"https://api.github.com/users/veillette","html_url":"https://github.com/veillette","followers_url":"https://api.github.com/users/veillette/followers","following_url":"https://api.github.com/users/veillette/following{/other_user}","gists_url":"https://api.github.com/users/veillette/gists{/gist_id}","starred_url":"https://api.github.com/users/veillette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veillette/subscriptions","organizations_url":"https://api.github.com/users/veillette/orgs","repos_url":"https://api.github.com/users/veillette/repos","events_url":"https://api.github.com/users/veillette/events{/privacy}","received_events_url":"https://api.github.com/users/veillette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-08T14:52:22Z","updated_at":"2016-07-08T14:52:22Z","closed_at":null,"body":"While reviewing Plinko-Probability, @jessegreenberg  mentionned\r\n>Events.js has been marked as deprecated and should be replaced with Emitter.js. Rather than extend Emitter, Ball and Histogram should extend something else, and an Emitter should be create for each type of event that needs to be emitted.\r\n\r\n>For example, you could create an exitedEmitter, and then replace calls to trigger0 with exitedEmitter.emit().\r\n\r\n>expression-exchange has some nice emitter examples if you wish to look at them.'\r\n\r\nCurve-fitting is using Events"}}
{"actor":{"display_login":"veillette"}}