{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/axon/issues/62","labels_url":"https://api.github.com/repos/phetsims/axon/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/axon/issues/62/comments","events_url":"https://api.github.com/repos/phetsims/axon/issues/62/events","html_url":"https://github.com/phetsims/axon/issues/62","id":83611454,"number":62,"title":"verify arg count to Events.trigger0, trigger1 and trigger2 ","user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phetsims/axon/labels/Summer%202015%20redeploy","name":"Summer 2015 redeploy","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"jbphet","id":3082831,"avatar_url":"https://avatars.githubusercontent.com/u/3082831?v=3","gravatar_id":"","url":"https://api.github.com/users/jbphet","html_url":"https://github.com/jbphet","followers_url":"https://api.github.com/users/jbphet/followers","following_url":"https://api.github.com/users/jbphet/following{/other_user}","gists_url":"https://api.github.com/users/jbphet/gists{/gist_id}","starred_url":"https://api.github.com/users/jbphet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbphet/subscriptions","organizations_url":"https://api.github.com/users/jbphet/orgs","repos_url":"https://api.github.com/users/jbphet/repos","events_url":"https://api.github.com/users/jbphet/events{/privacy}","received_events_url":"https://api.github.com/users/jbphet/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-06-01T17:22:45Z","updated_at":"2015-06-02T22:31:32Z","closed_at":"2015-06-02T22:20:38Z","body":"In light of https://github.com/phetsims/together/issues/131, I suggest that we add code to Events.trigger0, trigger1 and trigger2 that verifies that the number of arguments matches the expected number of parameters. "},"comment":{"url":"https://api.github.com/repos/phetsims/axon/issues/comments/108116728","html_url":"https://github.com/phetsims/axon/issues/62#issuecomment-108116728","issue_url":"https://api.github.com/repos/phetsims/axon/issues/62","id":108116728,"user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T22:31:32Z","updated_at":"2015-06-02T22:31:32Z","body":"The reason for introducing them is described in https://github.com/phetsims/axon/issues/62#issuecomment-107668233. But you indicated that this was incorrect because the client was ignoring the API arg (in this case `value`) by design."}}