{"action":"created","comment":{"url":"https://api.github.com/repos/remypar5/jacl/pulls/comments/83180259","pull_request_review_id":4037547,"id":83180259,"diff_hunk":"@@ -1,18 +1,24 @@\n import React from 'react';\n import ReactDOM from 'react-dom';\n import List from './src/components/List';\n-\n import cx from 'classnames';\n \n-function ListContainer(props) {\n-\treturn (\n-\t\t<List items={props.items}>\n-\t\t\t<div className=\"list-group-item\">item: $item.text.text</div>\n-\t\t</List>\n-\t);\n-};\n+const classes = ['warning', 'info', 'success', 'default'];\n+\n+const ListContainer = React.createClass({\n+\tgenerateItem(item, key, ctx) {\n+\t\tconst className = cx('list-group-item', 'list-group-item-' + classes[key % classes.length]);\n+\t\treturn <div key={key} className={className}>item: {item}</div>;","path":"index.jsx","position":11,"original_position":19,"commit_id":"cd9b7ac6a4692f02f18d8bed022960d34152b937","original_commit_id":"cd9b7ac6a4692f02f18d8bed022960d34152b937","user":{"login":"mettin","id":1436111,"avatar_url":"https://avatars.githubusercontent.com/u/1436111?v=3","gravatar_id":"","url":"https://api.github.com/users/mettin","html_url":"https://github.com/mettin","followers_url":"https://api.github.com/users/mettin/followers","following_url":"https://api.github.com/users/mettin/following{/other_user}","gists_url":"https://api.github.com/users/mettin/gists{/gist_id}","starred_url":"https://api.github.com/users/mettin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mettin/subscriptions","organizations_url":"https://api.github.com/users/mettin/orgs","repos_url":"https://api.github.com/users/mettin/repos","events_url":"https://api.github.com/users/mettin/events{/privacy}","received_events_url":"https://api.github.com/users/mettin/received_events","type":"User","site_admin":false},"body":"*personal preference*\r\nwhen there are more then 1 attr, newline per attr","created_at":"2016-10-13T09:50:48Z","updated_at":"2016-10-13T10:04:11Z","html_url":"https://github.com/remypar5/jacl/pull/1#discussion_r83180259","pull_request_url":"https://api.github.com/repos/remypar5/jacl/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/remypar5/jacl/pulls/comments/83180259"},"html":{"href":"https://github.com/remypar5/jacl/pull/1#discussion_r83180259"},"pull_request":{"href":"https://api.github.com/repos/remypar5/jacl/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/remypar5/jacl/pulls/1","id":88979696,"html_url":"https://github.com/remypar5/jacl/pull/1","diff_url":"https://github.com/remypar5/jacl/pull/1.diff","patch_url":"https://github.com/remypar5/jacl/pull/1.patch","issue_url":"https://api.github.com/repos/remypar5/jacl/issues/1","number":1,"state":"open","locked":false,"title":"List","user":{"login":"mettin","id":1436111,"avatar_url":"https://avatars.githubusercontent.com/u/1436111?v=3","gravatar_id":"","url":"https://api.github.com/users/mettin","html_url":"https://github.com/mettin","followers_url":"https://api.github.com/users/mettin/followers","following_url":"https://api.github.com/users/mettin/following{/other_user}","gists_url":"https://api.github.com/users/mettin/gists{/gist_id}","starred_url":"https://api.github.com/users/mettin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mettin/subscriptions","organizations_url":"https://api.github.com/users/mettin/orgs","repos_url":"https://api.github.com/users/mettin/repos","events_url":"https://api.github.com/users/mettin/events{/privacy}","received_events_url":"https://api.github.com/users/mettin/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-12T09:14:13Z","updated_at":"2016-10-13T10:04:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52ab51e71a7426e77e1a894d2ff48659223e37dd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/remypar5/jacl/pulls/1/commits","review_comments_url":"https://api.github.com/repos/remypar5/jacl/pulls/1/comments","review_comment_url":"https://api.github.com/repos/remypar5/jacl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/remypar5/jacl/issues/1/comments","statuses_url":"https://api.github.com/repos/remypar5/jacl/statuses/cd9b7ac6a4692f02f18d8bed022960d34152b937","head":{"label":"remypar5:list","ref":"list","sha":"cd9b7ac6a4692f02f18d8bed022960d34152b937","user":{"login":"remypar5","id":4688360,"avatar_url":"https://avatars.githubusercontent.com/u/4688360?v=3","gravatar_id":"","url":"https://api.github.com/users/remypar5","html_url":"https://github.com/remypar5","followers_url":"https://api.github.com/users/remypar5/followers","following_url":"https://api.github.com/users/remypar5/following{/other_user}","gists_url":"https://api.github.com/users/remypar5/gists{/gist_id}","starred_url":"https://api.github.com/users/remypar5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remypar5/subscriptions","organizations_url":"https://api.github.com/users/remypar5/orgs","repos_url":"https://api.github.com/users/remypar5/repos","events_url":"https://api.github.com/users/remypar5/events{/privacy}","received_events_url":"https://api.github.com/users/remypar5/received_events","type":"User","site_admin":false},"repo":{"id":70085256,"name":"jacl","full_name":"remypar5/jacl","owner":{"login":"remypar5","id":4688360,"avatar_url":"https://avatars.githubusercontent.com/u/4688360?v=3","gravatar_id":"","url":"https://api.github.com/users/remypar5","html_url":"https://github.com/remypar5","followers_url":"https://api.github.com/users/remypar5/followers","following_url":"https://api.github.com/users/remypar5/following{/other_user}","gists_url":"https://api.github.com/users/remypar5/gists{/gist_id}","starred_url":"https://api.github.com/users/remypar5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remypar5/subscriptions","organizations_url":"https://api.github.com/users/remypar5/orgs","repos_url":"https://api.github.com/users/remypar5/repos","events_url":"https://api.github.com/users/remypar5/events{/privacy}","received_events_url":"https://api.github.com/users/remypar5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/remypar5/jacl","description":"Just Another Component Library","fork":false,"url":"https://api.github.com/repos/remypar5/jacl","forks_url":"https://api.github.com/repos/remypar5/jacl/forks","keys_url":"https://api.github.com/repos/remypar5/jacl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remypar5/jacl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remypar5/jacl/teams","hooks_url":"https://api.github.com/repos/remypar5/jacl/hooks","issue_events_url":"https://api.github.com/repos/remypar5/jacl/issues/events{/number}","events_url":"https://api.github.com/repos/remypar5/jacl/events","assignees_url":"https://api.github.com/repos/remypar5/jacl/assignees{/user}","branches_url":"https://api.github.com/repos/remypar5/jacl/branches{/branch}","tags_url":"https://api.github.com/repos/remypar5/jacl/tags","blobs_url":"https://api.github.com/repos/remypar5/jacl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remypar5/jacl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remypar5/jacl/git/refs{/sha}","trees_url":"https://api.github.com/repos/remypar5/jacl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remypar5/jacl/statuses/{sha}","languages_url":"https://api.github.com/repos/remypar5/jacl/languages","stargazers_url":"https://api.github.com/repos/remypar5/jacl/stargazers","contributors_url":"https://api.github.com/repos/remypar5/jacl/contributors","subscribers_url":"https://api.github.com/repos/remypar5/jacl/subscribers","subscription_url":"https://api.github.com/repos/remypar5/jacl/subscription","commits_url":"https://api.github.com/repos/remypar5/jacl/commits{/sha}","git_commits_url":"https://api.github.com/repos/remypar5/jacl/git/commits{/sha}","comments_url":"https://api.github.com/repos/remypar5/jacl/comments{/number}","issue_comment_url":"https://api.github.com/repos/remypar5/jacl/issues/comments{/number}","contents_url":"https://api.github.com/repos/remypar5/jacl/contents/{+path}","compare_url":"https://api.github.com/repos/remypar5/jacl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remypar5/jacl/merges","archive_url":"https://api.github.com/repos/remypar5/jacl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remypar5/jacl/downloads","issues_url":"https://api.github.com/repos/remypar5/jacl/issues{/number}","pulls_url":"https://api.github.com/repos/remypar5/jacl/pulls{/number}","milestones_url":"https://api.github.com/repos/remypar5/jacl/milestones{/number}","notifications_url":"https://api.github.com/repos/remypar5/jacl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remypar5/jacl/labels{/name}","releases_url":"https://api.github.com/repos/remypar5/jacl/releases{/id}","deployments_url":"https://api.github.com/repos/remypar5/jacl/deployments","created_at":"2016-10-05T17:57:52Z","updated_at":"2016-10-05T17:57:52Z","pushed_at":"2016-10-12T21:48:12Z","git_url":"git://github.com/remypar5/jacl.git","ssh_url":"git@github.com:remypar5/jacl.git","clone_url":"https://github.com/remypar5/jacl.git","svn_url":"https://github.com/remypar5/jacl","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"remypar5:master","ref":"master","sha":"4872a623d804b62d40d20c9e0da0f8baeae50660","user":{"login":"remypar5","id":4688360,"avatar_url":"https://avatars.githubusercontent.com/u/4688360?v=3","gravatar_id":"","url":"https://api.github.com/users/remypar5","html_url":"https://github.com/remypar5","followers_url":"https://api.github.com/users/remypar5/followers","following_url":"https://api.github.com/users/remypar5/following{/other_user}","gists_url":"https://api.github.com/users/remypar5/gists{/gist_id}","starred_url":"https://api.github.com/users/remypar5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remypar5/subscriptions","organizations_url":"https://api.github.com/users/remypar5/orgs","repos_url":"https://api.github.com/users/remypar5/repos","events_url":"https://api.github.com/users/remypar5/events{/privacy}","received_events_url":"https://api.github.com/users/remypar5/received_events","type":"User","site_admin":false},"repo":{"id":70085256,"name":"jacl","full_name":"remypar5/jacl","owner":{"login":"remypar5","id":4688360,"avatar_url":"https://avatars.githubusercontent.com/u/4688360?v=3","gravatar_id":"","url":"https://api.github.com/users/remypar5","html_url":"https://github.com/remypar5","followers_url":"https://api.github.com/users/remypar5/followers","following_url":"https://api.github.com/users/remypar5/following{/other_user}","gists_url":"https://api.github.com/users/remypar5/gists{/gist_id}","starred_url":"https://api.github.com/users/remypar5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remypar5/subscriptions","organizations_url":"https://api.github.com/users/remypar5/orgs","repos_url":"https://api.github.com/users/remypar5/repos","events_url":"https://api.github.com/users/remypar5/events{/privacy}","received_events_url":"https://api.github.com/users/remypar5/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/remypar5/jacl","description":"Just Another Component Library","fork":false,"url":"https://api.github.com/repos/remypar5/jacl","forks_url":"https://api.github.com/repos/remypar5/jacl/forks","keys_url":"https://api.github.com/repos/remypar5/jacl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remypar5/jacl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remypar5/jacl/teams","hooks_url":"https://api.github.com/repos/remypar5/jacl/hooks","issue_events_url":"https://api.github.com/repos/remypar5/jacl/issues/events{/number}","events_url":"https://api.github.com/repos/remypar5/jacl/events","assignees_url":"https://api.github.com/repos/remypar5/jacl/assignees{/user}","branches_url":"https://api.github.com/repos/remypar5/jacl/branches{/branch}","tags_url":"https://api.github.com/repos/remypar5/jacl/tags","blobs_url":"https://api.github.com/repos/remypar5/jacl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remypar5/jacl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remypar5/jacl/git/refs{/sha}","trees_url":"https://api.github.com/repos/remypar5/jacl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remypar5/jacl/statuses/{sha}","languages_url":"https://api.github.com/repos/remypar5/jacl/languages","stargazers_url":"https://api.github.com/repos/remypar5/jacl/stargazers","contributors_url":"https://api.github.com/repos/remypar5/jacl/contributors","subscribers_url":"https://api.github.com/repos/remypar5/jacl/subscribers","subscription_url":"https://api.github.com/repos/remypar5/jacl/subscription","commits_url":"https://api.github.com/repos/remypar5/jacl/commits{/sha}","git_commits_url":"https://api.github.com/repos/remypar5/jacl/git/commits{/sha}","comments_url":"https://api.github.com/repos/remypar5/jacl/comments{/number}","issue_comment_url":"https://api.github.com/repos/remypar5/jacl/issues/comments{/number}","contents_url":"https://api.github.com/repos/remypar5/jacl/contents/{+path}","compare_url":"https://api.github.com/repos/remypar5/jacl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remypar5/jacl/merges","archive_url":"https://api.github.com/repos/remypar5/jacl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remypar5/jacl/downloads","issues_url":"https://api.github.com/repos/remypar5/jacl/issues{/number}","pulls_url":"https://api.github.com/repos/remypar5/jacl/pulls{/number}","milestones_url":"https://api.github.com/repos/remypar5/jacl/milestones{/number}","notifications_url":"https://api.github.com/repos/remypar5/jacl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remypar5/jacl/labels{/name}","releases_url":"https://api.github.com/repos/remypar5/jacl/releases{/id}","deployments_url":"https://api.github.com/repos/remypar5/jacl/deployments","created_at":"2016-10-05T17:57:52Z","updated_at":"2016-10-05T17:57:52Z","pushed_at":"2016-10-12T21:48:12Z","git_url":"git://github.com/remypar5/jacl.git","ssh_url":"git@github.com:remypar5/jacl.git","clone_url":"https://github.com/remypar5/jacl.git","svn_url":"https://github.com/remypar5/jacl","homepage":null,"size":157,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/remypar5/jacl/pulls/1"},"html":{"href":"https://github.com/remypar5/jacl/pull/1"},"issue":{"href":"https://api.github.com/repos/remypar5/jacl/issues/1"},"comments":{"href":"https://api.github.com/repos/remypar5/jacl/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/remypar5/jacl/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/remypar5/jacl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/remypar5/jacl/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/remypar5/jacl/statuses/cd9b7ac6a4692f02f18d8bed022960d34152b937"}}}}
{"actor":{"display_login":"mettin"}}