{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/sun/issues/37","labels_url":"https://api.github.com/repos/phetsims/sun/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/sun/issues/37/comments","events_url":"https://api.github.com/repos/phetsims/sun/issues/37/events","html_url":"https://github.com/phetsims/sun/issues/37","id":22463485,"number":37,"title":"PushButton cannot use same instance for its args","user":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2013-11-11T17:30:49Z","updated_at":"2015-04-24T23:19:49Z","closed_at":null,"body":"PushButton will break (not show the correct node visibilities) if some nodes are passed as multiple arguments.  For instance, in HomeButton, I put:\r\n\r\nPushButton.call(this,icon,icon,icon,icon)\r\n\r\nand it never showed up since it is setting icon.visible=false last (perhaps for the down or disabled part).  We had the same problem in https://github.com/phetsims/sun/issues/36 and decided to wrap the nodes by default and provide an option to not wrap them (in case the client is sure they don't appear elsewhere)."},"comment":{"url":"https://api.github.com/repos/phetsims/sun/issues/comments/96094580","html_url":"https://github.com/phetsims/sun/issues/37#issuecomment-96094580","issue_url":"https://api.github.com/repos/phetsims/sun/issues/37","id":96094580,"user":{"login":"samreid","id":679486,"avatar_url":"https://avatars.githubusercontent.com/u/679486?v=3","gravatar_id":"","url":"https://api.github.com/users/samreid","html_url":"https://github.com/samreid","followers_url":"https://api.github.com/users/samreid/followers","following_url":"https://api.github.com/users/samreid/following{/other_user}","gists_url":"https://api.github.com/users/samreid/gists{/gist_id}","starred_url":"https://api.github.com/users/samreid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samreid/subscriptions","organizations_url":"https://api.github.com/users/samreid/orgs","repos_url":"https://api.github.com/users/samreid/repos","events_url":"https://api.github.com/users/samreid/events{/privacy}","received_events_url":"https://api.github.com/users/samreid/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T23:19:49Z","updated_at":"2015-04-24T23:19:49Z","body":"I think we are done here.  Closing."}}