{"action":"created","comment":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/comments/50920857","id":50920857,"diff_hunk":"@@ -76,12 +76,32 @@ export const SelectableContainerEnhance = (Component) => {\n           key: this._keyIndex,\n           style: mergedChildrenStyles,\n           nestedItems: child.props.nestedItems.map((child) => this._extendChild(child, styles, selectedItemStyle)),\n+          initiallyOpen: this._isInitiallyOpen(child),\n         });\n       } else {\n         return child;\n       }\n     },\n \n+    _isInitiallyOpen(child) {","path":"src/hoc/selectable-enhance.js","position":11,"original_position":11,"commit_id":"cbd81c836fa428620f5dd721ea0720cca3e1ff29","original_commit_id":"cbd81c836fa428620f5dd721ea0720cca3e1ff29","user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"body":"What about the `_` convention?\r\nI think that all the methods are private, I don't see the need for it.","created_at":"2016-01-26T23:45:19Z","updated_at":"2016-01-26T23:45:19Z","html_url":"https://github.com/callemall/material-ui/pull/3039#discussion_r50920857","pull_request_url":"https://api.github.com/repos/callemall/material-ui/pulls/3039","_links":{"self":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/comments/50920857"},"html":{"href":"https://github.com/callemall/material-ui/pull/3039#discussion_r50920857"},"pull_request":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/3039"}}},"pull_request":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/3039","id":57053157,"html_url":"https://github.com/callemall/material-ui/pull/3039","diff_url":"https://github.com/callemall/material-ui/pull/3039.diff","patch_url":"https://github.com/callemall/material-ui/pull/3039.patch","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/3039","number":3039,"state":"open","locked":false,"title":"[List] Auto-expand SelectableList","user":{"login":"mbrookes","id":357702,"avatar_url":"https://avatars.githubusercontent.com/u/357702?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrookes","html_url":"https://github.com/mbrookes","followers_url":"https://api.github.com/users/mbrookes/followers","following_url":"https://api.github.com/users/mbrookes/following{/other_user}","gists_url":"https://api.github.com/users/mbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrookes/subscriptions","organizations_url":"https://api.github.com/users/mbrookes/orgs","repos_url":"https://api.github.com/users/mbrookes/repos","events_url":"https://api.github.com/users/mbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/mbrookes/received_events","type":"User","site_admin":false},"body":"Resolves #2895, #3023.","created_at":"2016-01-25T10:37:26Z","updated_at":"2016-01-26T23:45:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1069089c5c5cfa57653f31d48c3a27ac84aaff75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/callemall/material-ui/pulls/3039/commits","review_comments_url":"https://api.github.com/repos/callemall/material-ui/pulls/3039/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/3039/comments","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/cbd81c836fa428620f5dd721ea0720cca3e1ff29","head":{"label":"mbrookes:selectable-enhance","ref":"selectable-enhance","sha":"cbd81c836fa428620f5dd721ea0720cca3e1ff29","user":{"login":"mbrookes","id":357702,"avatar_url":"https://avatars.githubusercontent.com/u/357702?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrookes","html_url":"https://github.com/mbrookes","followers_url":"https://api.github.com/users/mbrookes/followers","following_url":"https://api.github.com/users/mbrookes/following{/other_user}","gists_url":"https://api.github.com/users/mbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrookes/subscriptions","organizations_url":"https://api.github.com/users/mbrookes/orgs","repos_url":"https://api.github.com/users/mbrookes/repos","events_url":"https://api.github.com/users/mbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/mbrookes/received_events","type":"User","site_admin":false},"repo":{"id":47764990,"name":"material-ui","full_name":"mbrookes/material-ui","owner":{"login":"mbrookes","id":357702,"avatar_url":"https://avatars.githubusercontent.com/u/357702?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrookes","html_url":"https://github.com/mbrookes","followers_url":"https://api.github.com/users/mbrookes/followers","following_url":"https://api.github.com/users/mbrookes/following{/other_user}","gists_url":"https://api.github.com/users/mbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrookes/subscriptions","organizations_url":"https://api.github.com/users/mbrookes/orgs","repos_url":"https://api.github.com/users/mbrookes/repos","events_url":"https://api.github.com/users/mbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/mbrookes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbrookes/material-ui","description":"React Components that Implement Google's Material Design.","fork":true,"url":"https://api.github.com/repos/mbrookes/material-ui","forks_url":"https://api.github.com/repos/mbrookes/material-ui/forks","keys_url":"https://api.github.com/repos/mbrookes/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbrookes/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbrookes/material-ui/teams","hooks_url":"https://api.github.com/repos/mbrookes/material-ui/hooks","issue_events_url":"https://api.github.com/repos/mbrookes/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/mbrookes/material-ui/events","assignees_url":"https://api.github.com/repos/mbrookes/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/mbrookes/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/mbrookes/material-ui/tags","blobs_url":"https://api.github.com/repos/mbrookes/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbrookes/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbrookes/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbrookes/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbrookes/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/mbrookes/material-ui/languages","stargazers_url":"https://api.github.com/repos/mbrookes/material-ui/stargazers","contributors_url":"https://api.github.com/repos/mbrookes/material-ui/contributors","subscribers_url":"https://api.github.com/repos/mbrookes/material-ui/subscribers","subscription_url":"https://api.github.com/repos/mbrookes/material-ui/subscription","commits_url":"https://api.github.com/repos/mbrookes/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbrookes/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbrookes/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbrookes/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbrookes/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/mbrookes/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbrookes/material-ui/merges","archive_url":"https://api.github.com/repos/mbrookes/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbrookes/material-ui/downloads","issues_url":"https://api.github.com/repos/mbrookes/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/mbrookes/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/mbrookes/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/mbrookes/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbrookes/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/mbrookes/material-ui/releases{/id}","deployments_url":"https://api.github.com/repos/mbrookes/material-ui/deployments","created_at":"2015-12-10T13:53:43Z","updated_at":"2016-01-11T23:42:24Z","pushed_at":"2016-01-26T23:27:08Z","git_url":"git://github.com/mbrookes/material-ui.git","ssh_url":"git@github.com:mbrookes/material-ui.git","clone_url":"https://github.com/mbrookes/material-ui.git","svn_url":"https://github.com/mbrookes/material-ui","homepage":"http://www.material-ui.com","size":35623,"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":"bbffe479f94c0217b8707c1df77a8b176e1be4bc","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-01-26T22:57:33Z","pushed_at":"2016-01-26T23:27: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":45656,"stargazers_count":13346,"watchers_count":13346,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2203,"mirror_url":null,"open_issues_count":542,"forks":2203,"open_issues":542,"watchers":13346,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/3039"},"html":{"href":"https://github.com/callemall/material-ui/pull/3039"},"issue":{"href":"https://api.github.com/repos/callemall/material-ui/issues/3039"},"comments":{"href":"https://api.github.com/repos/callemall/material-ui/issues/3039/comments"},"review_comments":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/3039/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/3039/commits"},"statuses":{"href":"https://api.github.com/repos/callemall/material-ui/statuses/cbd81c836fa428620f5dd721ea0720cca3e1ff29"}}}}