{"action":"closed","number":5162,"pull_request":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/5162","id":84936666,"html_url":"https://github.com/callemall/material-ui/pull/5162","diff_url":"https://github.com/callemall/material-ui/pull/5162.diff","patch_url":"https://github.com/callemall/material-ui/pull/5162.patch","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/5162","number":5162,"state":"closed","locked":false,"title":"[EnhancedSwitch] Removing weird label invocation.","user":{"login":"toddtarsi","id":4707505,"avatar_url":"https://avatars.githubusercontent.com/u/4707505?v=3","gravatar_id":"","url":"https://api.github.com/users/toddtarsi","html_url":"https://github.com/toddtarsi","followers_url":"https://api.github.com/users/toddtarsi/followers","following_url":"https://api.github.com/users/toddtarsi/following{/other_user}","gists_url":"https://api.github.com/users/toddtarsi/gists{/gist_id}","starred_url":"https://api.github.com/users/toddtarsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddtarsi/subscriptions","organizations_url":"https://api.github.com/users/toddtarsi/orgs","repos_url":"https://api.github.com/users/toddtarsi/repos","events_url":"https://api.github.com/users/toddtarsi/events{/privacy}","received_events_url":"https://api.github.com/users/toddtarsi/received_events","type":"User","site_admin":false},"body":"<!-- Thanks so much for your PR, your contribution is appreciated! -->\r\n\r\n- [ ] PR has tests / docs demo, and is linted.\r\n- [ ] Commit and PR titles begin with [ComponentName], and are in imperative form: \"[Component] Fix leaky abstraction\".\r\n- [ ] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).\r\n\r\n\r\nNot sure if this is intentional, but this pattern seems very weird. I encounter a lot of strange behavior with labels and would guess that this is a bad invocation, which is trying to use the label as both a constructor and an instance.\r\nIf it is correct, could someone help me by explaining to me what this is doing? \r\nI'm confused somewhat by what this is doing...","created_at":"2016-09-12T20:15:10Z","updated_at":"2016-09-12T21:04:27Z","closed_at":"2016-09-12T21:04:27Z","merged_at":null,"merge_commit_sha":"6481f18df60bc0bbc30501daaf520e00aac94e07","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/callemall/material-ui/pulls/5162/commits","review_comments_url":"https://api.github.com/repos/callemall/material-ui/pulls/5162/comments","review_comment_url":"https://api.github.com/repos/callemall/material-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/5162/comments","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/e0f4297164442feea9fdb252ba52a82b6dac8b3e","head":{"label":"toddtarsi:patch-1","ref":"patch-1","sha":"e0f4297164442feea9fdb252ba52a82b6dac8b3e","user":{"login":"toddtarsi","id":4707505,"avatar_url":"https://avatars.githubusercontent.com/u/4707505?v=3","gravatar_id":"","url":"https://api.github.com/users/toddtarsi","html_url":"https://github.com/toddtarsi","followers_url":"https://api.github.com/users/toddtarsi/followers","following_url":"https://api.github.com/users/toddtarsi/following{/other_user}","gists_url":"https://api.github.com/users/toddtarsi/gists{/gist_id}","starred_url":"https://api.github.com/users/toddtarsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddtarsi/subscriptions","organizations_url":"https://api.github.com/users/toddtarsi/orgs","repos_url":"https://api.github.com/users/toddtarsi/repos","events_url":"https://api.github.com/users/toddtarsi/events{/privacy}","received_events_url":"https://api.github.com/users/toddtarsi/received_events","type":"User","site_admin":false},"repo":{"id":64078392,"name":"material-ui","full_name":"toddtarsi/material-ui","owner":{"login":"toddtarsi","id":4707505,"avatar_url":"https://avatars.githubusercontent.com/u/4707505?v=3","gravatar_id":"","url":"https://api.github.com/users/toddtarsi","html_url":"https://github.com/toddtarsi","followers_url":"https://api.github.com/users/toddtarsi/followers","following_url":"https://api.github.com/users/toddtarsi/following{/other_user}","gists_url":"https://api.github.com/users/toddtarsi/gists{/gist_id}","starred_url":"https://api.github.com/users/toddtarsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddtarsi/subscriptions","organizations_url":"https://api.github.com/users/toddtarsi/orgs","repos_url":"https://api.github.com/users/toddtarsi/repos","events_url":"https://api.github.com/users/toddtarsi/events{/privacy}","received_events_url":"https://api.github.com/users/toddtarsi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toddtarsi/material-ui","description":"React Components that Implement Google's Material Design.","fork":true,"url":"https://api.github.com/repos/toddtarsi/material-ui","forks_url":"https://api.github.com/repos/toddtarsi/material-ui/forks","keys_url":"https://api.github.com/repos/toddtarsi/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toddtarsi/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toddtarsi/material-ui/teams","hooks_url":"https://api.github.com/repos/toddtarsi/material-ui/hooks","issue_events_url":"https://api.github.com/repos/toddtarsi/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/toddtarsi/material-ui/events","assignees_url":"https://api.github.com/repos/toddtarsi/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/toddtarsi/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/toddtarsi/material-ui/tags","blobs_url":"https://api.github.com/repos/toddtarsi/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toddtarsi/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toddtarsi/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/toddtarsi/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toddtarsi/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/toddtarsi/material-ui/languages","stargazers_url":"https://api.github.com/repos/toddtarsi/material-ui/stargazers","contributors_url":"https://api.github.com/repos/toddtarsi/material-ui/contributors","subscribers_url":"https://api.github.com/repos/toddtarsi/material-ui/subscribers","subscription_url":"https://api.github.com/repos/toddtarsi/material-ui/subscription","commits_url":"https://api.github.com/repos/toddtarsi/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/toddtarsi/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/toddtarsi/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/toddtarsi/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/toddtarsi/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/toddtarsi/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toddtarsi/material-ui/merges","archive_url":"https://api.github.com/repos/toddtarsi/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toddtarsi/material-ui/downloads","issues_url":"https://api.github.com/repos/toddtarsi/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/toddtarsi/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/toddtarsi/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/toddtarsi/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toddtarsi/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/toddtarsi/material-ui/releases{/id}","deployments_url":"https://api.github.com/repos/toddtarsi/material-ui/deployments","created_at":"2016-07-24T17:56:45Z","updated_at":"2016-07-24T17:56:48Z","pushed_at":"2016-09-12T20:14:46Z","git_url":"git://github.com/toddtarsi/material-ui.git","ssh_url":"git@github.com:toddtarsi/material-ui.git","clone_url":"https://github.com/toddtarsi/material-ui.git","svn_url":"https://github.com/toddtarsi/material-ui","homepage":"http://www.material-ui.com","size":76413,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"callemall:master","ref":"master","sha":"ff9b6386df73f316ad71ba9d7bc0b4f6e0710eec","user":{"login":"callemall","id":1262264,"avatar_url":"https://avatars.githubusercontent.com/u/1262264?v=3","gravatar_id":"","url":"https://api.github.com/users/callemall","html_url":"https://github.com/callemall","followers_url":"https://api.github.com/users/callemall/followers","following_url":"https://api.github.com/users/callemall/following{/other_user}","gists_url":"https://api.github.com/users/callemall/gists{/gist_id}","starred_url":"https://api.github.com/users/callemall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callemall/subscriptions","organizations_url":"https://api.github.com/users/callemall/orgs","repos_url":"https://api.github.com/users/callemall/repos","events_url":"https://api.github.com/users/callemall/events{/privacy}","received_events_url":"https://api.github.com/users/callemall/received_events","type":"Organization","site_admin":false},"repo":{"id":23083156,"name":"material-ui","full_name":"callemall/material-ui","owner":{"login":"callemall","id":1262264,"avatar_url":"https://avatars.githubusercontent.com/u/1262264?v=3","gravatar_id":"","url":"https://api.github.com/users/callemall","html_url":"https://github.com/callemall","followers_url":"https://api.github.com/users/callemall/followers","following_url":"https://api.github.com/users/callemall/following{/other_user}","gists_url":"https://api.github.com/users/callemall/gists{/gist_id}","starred_url":"https://api.github.com/users/callemall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callemall/subscriptions","organizations_url":"https://api.github.com/users/callemall/orgs","repos_url":"https://api.github.com/users/callemall/repos","events_url":"https://api.github.com/users/callemall/events{/privacy}","received_events_url":"https://api.github.com/users/callemall/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/callemall/material-ui","description":"React Components that Implement Google's Material Design.","fork":false,"url":"https://api.github.com/repos/callemall/material-ui","forks_url":"https://api.github.com/repos/callemall/material-ui/forks","keys_url":"https://api.github.com/repos/callemall/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callemall/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callemall/material-ui/teams","hooks_url":"https://api.github.com/repos/callemall/material-ui/hooks","issue_events_url":"https://api.github.com/repos/callemall/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/callemall/material-ui/events","assignees_url":"https://api.github.com/repos/callemall/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/callemall/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/callemall/material-ui/tags","blobs_url":"https://api.github.com/repos/callemall/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callemall/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callemall/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/callemall/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/callemall/material-ui/languages","stargazers_url":"https://api.github.com/repos/callemall/material-ui/stargazers","contributors_url":"https://api.github.com/repos/callemall/material-ui/contributors","subscribers_url":"https://api.github.com/repos/callemall/material-ui/subscribers","subscription_url":"https://api.github.com/repos/callemall/material-ui/subscription","commits_url":"https://api.github.com/repos/callemall/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/callemall/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/callemall/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/callemall/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/callemall/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/callemall/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callemall/material-ui/merges","archive_url":"https://api.github.com/repos/callemall/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callemall/material-ui/downloads","issues_url":"https://api.github.com/repos/callemall/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/callemall/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/callemall/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/callemall/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callemall/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/callemall/material-ui/releases{/id}","deployments_url":"https://api.github.com/repos/callemall/material-ui/deployments","created_at":"2014-08-18T19:11:54Z","updated_at":"2016-09-12T20:37:45Z","pushed_at":"2016-09-12T20:15:10Z","git_url":"git://github.com/callemall/material-ui.git","ssh_url":"git@github.com:callemall/material-ui.git","clone_url":"https://github.com/callemall/material-ui.git","svn_url":"https://github.com/callemall/material-ui","homepage":"http://www.material-ui.com","size":80343,"stargazers_count":19380,"watchers_count":19380,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3496,"mirror_url":null,"open_issues_count":574,"forks":3496,"open_issues":574,"watchers":19380,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/5162"},"html":{"href":"https://github.com/callemall/material-ui/pull/5162"},"issue":{"href":"https://api.github.com/repos/callemall/material-ui/issues/5162"},"comments":{"href":"https://api.github.com/repos/callemall/material-ui/issues/5162/comments"},"review_comments":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/5162/comments"},"review_comment":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/5162/commits"},"statuses":{"href":"https://api.github.com/repos/callemall/material-ui/statuses/e0f4297164442feea9fdb252ba52a82b6dac8b3e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"toddtarsi"}}