{"action":"created","comment":{"url":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/comments/93234522","pull_request_review_id":13751903,"id":93234522,"diff_hunk":"@@ -1,21 +1,43 @@\n-/**\n- * Lab 04:\n- *\n- * Implement a multi color picker component.\n- *\n- * Component should provide an <input> field to select a color,\n- * and below 9 <div> elements.\n- * Each <div> should have a slightly darker color than the previous one,\n- * with the color selected by the user used as the middle color.\n- *\n- * See lab description on the website for a live demo.\n- *\n- * Hint: Use tinycolor library to perform color manipulations\n- *\n- */\n-\n-import tinycolor from 'tinycolor2';\n-import React from 'react';\n-\n-export default React.createClass({\n-});\n+import React from \"react\";\r\n+import tinycolor2 from \"tinycolor2\";\r\n+\r\n+export default class MultiColor extends React.Component {\r\n+    constructor(props) {\r\n+        super(props);\r\n+        this.state = {colors: []};\r\n+    }\r\n+\r\n+    handleChange(e) {\r\n+        var colors = [];\r","path":"08-components-lab/src/04-multicolor.jsx","position":32,"original_position":32,"commit_id":"52c1b0b00b6243e5451f9b6105fcb844d75fbae9","original_commit_id":"52c1b0b00b6243e5451f9b6105fcb844d75fbae9","user":{"login":"vnovick","id":3762909,"avatar_url":"https://avatars.githubusercontent.com/u/3762909?v=3","gravatar_id":"","url":"https://api.github.com/users/vnovick","html_url":"https://github.com/vnovick","followers_url":"https://api.github.com/users/vnovick/followers","following_url":"https://api.github.com/users/vnovick/following{/other_user}","gists_url":"https://api.github.com/users/vnovick/gists{/gist_id}","starred_url":"https://api.github.com/users/vnovick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnovick/subscriptions","organizations_url":"https://api.github.com/users/vnovick/orgs","repos_url":"https://api.github.com/users/vnovick/repos","events_url":"https://api.github.com/users/vnovick/events{/privacy}","received_events_url":"https://api.github.com/users/vnovick/received_events","type":"User","site_admin":false},"body":"no vars","created_at":"2016-12-20T13:15:49Z","updated_at":"2016-12-20T13:15:49Z","html_url":"https://github.com/tocodeil/react-course-examples/pull/10#discussion_r93234522","pull_request_url":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/comments/93234522"},"html":{"href":"https://github.com/tocodeil/react-course-examples/pull/10#discussion_r93234522"},"pull_request":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/10","id":98644303,"html_url":"https://github.com/tocodeil/react-course-examples/pull/10","diff_url":"https://github.com/tocodeil/react-course-examples/pull/10.diff","patch_url":"https://github.com/tocodeil/react-course-examples/pull/10.patch","issue_url":"https://api.github.com/repos/tocodeil/react-course-examples/issues/10","number":10,"state":"open","locked":false,"title":"ToCode Solution: תרגול פקדים","user":{"login":"mhbrMalam","id":24584309,"avatar_url":"https://avatars.githubusercontent.com/u/24584309?v=3","gravatar_id":"","url":"https://api.github.com/users/mhbrMalam","html_url":"https://github.com/mhbrMalam","followers_url":"https://api.github.com/users/mhbrMalam/followers","following_url":"https://api.github.com/users/mhbrMalam/following{/other_user}","gists_url":"https://api.github.com/users/mhbrMalam/gists{/gist_id}","starred_url":"https://api.github.com/users/mhbrMalam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhbrMalam/subscriptions","organizations_url":"https://api.github.com/users/mhbrMalam/orgs","repos_url":"https://api.github.com/users/mhbrMalam/repos","events_url":"https://api.github.com/users/mhbrMalam/events{/privacy}","received_events_url":"https://api.github.com/users/mhbrMalam/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-12-19T21:36:58Z","updated_at":"2016-12-20T13:18:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"064943fab0eeaa40c1f228efdcd281d93ca1b33b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/10/commits","review_comments_url":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/10/comments","review_comment_url":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tocodeil/react-course-examples/issues/10/comments","statuses_url":"https://api.github.com/repos/tocodeil/react-course-examples/statuses/52c1b0b00b6243e5451f9b6105fcb844d75fbae9","head":{"label":"mhbrMalam:08-components-lab","ref":"08-components-lab","sha":"52c1b0b00b6243e5451f9b6105fcb844d75fbae9","user":{"login":"mhbrMalam","id":24584309,"avatar_url":"https://avatars.githubusercontent.com/u/24584309?v=3","gravatar_id":"","url":"https://api.github.com/users/mhbrMalam","html_url":"https://github.com/mhbrMalam","followers_url":"https://api.github.com/users/mhbrMalam/followers","following_url":"https://api.github.com/users/mhbrMalam/following{/other_user}","gists_url":"https://api.github.com/users/mhbrMalam/gists{/gist_id}","starred_url":"https://api.github.com/users/mhbrMalam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhbrMalam/subscriptions","organizations_url":"https://api.github.com/users/mhbrMalam/orgs","repos_url":"https://api.github.com/users/mhbrMalam/repos","events_url":"https://api.github.com/users/mhbrMalam/events{/privacy}","received_events_url":"https://api.github.com/users/mhbrMalam/received_events","type":"User","site_admin":false},"repo":{"id":76775045,"name":"react-course-examples","full_name":"mhbrMalam/react-course-examples","owner":{"login":"mhbrMalam","id":24584309,"avatar_url":"https://avatars.githubusercontent.com/u/24584309?v=3","gravatar_id":"","url":"https://api.github.com/users/mhbrMalam","html_url":"https://github.com/mhbrMalam","followers_url":"https://api.github.com/users/mhbrMalam/followers","following_url":"https://api.github.com/users/mhbrMalam/following{/other_user}","gists_url":"https://api.github.com/users/mhbrMalam/gists{/gist_id}","starred_url":"https://api.github.com/users/mhbrMalam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhbrMalam/subscriptions","organizations_url":"https://api.github.com/users/mhbrMalam/orgs","repos_url":"https://api.github.com/users/mhbrMalam/repos","events_url":"https://api.github.com/users/mhbrMalam/events{/privacy}","received_events_url":"https://api.github.com/users/mhbrMalam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mhbrMalam/react-course-examples","description":"React course examples","fork":true,"url":"https://api.github.com/repos/mhbrMalam/react-course-examples","forks_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/forks","keys_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/teams","hooks_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/hooks","issue_events_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/issues/events{/number}","events_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/events","assignees_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/assignees{/user}","branches_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/branches{/branch}","tags_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/tags","blobs_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/languages","stargazers_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/stargazers","contributors_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/contributors","subscribers_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/subscribers","subscription_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/subscription","commits_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/contents/{+path}","compare_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/merges","archive_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/downloads","issues_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/issues{/number}","pulls_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/labels{/name}","releases_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/releases{/id}","deployments_url":"https://api.github.com/repos/mhbrMalam/react-course-examples/deployments","created_at":"2016-12-18T09:52:23Z","updated_at":"2016-12-18T09:52:24Z","pushed_at":"2016-12-19T22:21:34Z","git_url":"git://github.com/mhbrMalam/react-course-examples.git","ssh_url":"git@github.com:mhbrMalam/react-course-examples.git","clone_url":"https://github.com/mhbrMalam/react-course-examples.git","svn_url":"https://github.com/mhbrMalam/react-course-examples","homepage":null,"size":43,"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":"tocodeil:master","ref":"master","sha":"972142e403ac2b08f55b43e3e946bc4ddb6295a3","user":{"login":"tocodeil","id":20875340,"avatar_url":"https://avatars.githubusercontent.com/u/20875340?v=3","gravatar_id":"","url":"https://api.github.com/users/tocodeil","html_url":"https://github.com/tocodeil","followers_url":"https://api.github.com/users/tocodeil/followers","following_url":"https://api.github.com/users/tocodeil/following{/other_user}","gists_url":"https://api.github.com/users/tocodeil/gists{/gist_id}","starred_url":"https://api.github.com/users/tocodeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tocodeil/subscriptions","organizations_url":"https://api.github.com/users/tocodeil/orgs","repos_url":"https://api.github.com/users/tocodeil/repos","events_url":"https://api.github.com/users/tocodeil/events{/privacy}","received_events_url":"https://api.github.com/users/tocodeil/received_events","type":"Organization","site_admin":false},"repo":{"id":69803450,"name":"react-course-examples","full_name":"tocodeil/react-course-examples","owner":{"login":"tocodeil","id":20875340,"avatar_url":"https://avatars.githubusercontent.com/u/20875340?v=3","gravatar_id":"","url":"https://api.github.com/users/tocodeil","html_url":"https://github.com/tocodeil","followers_url":"https://api.github.com/users/tocodeil/followers","following_url":"https://api.github.com/users/tocodeil/following{/other_user}","gists_url":"https://api.github.com/users/tocodeil/gists{/gist_id}","starred_url":"https://api.github.com/users/tocodeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tocodeil/subscriptions","organizations_url":"https://api.github.com/users/tocodeil/orgs","repos_url":"https://api.github.com/users/tocodeil/repos","events_url":"https://api.github.com/users/tocodeil/events{/privacy}","received_events_url":"https://api.github.com/users/tocodeil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tocodeil/react-course-examples","description":"React course examples","fork":false,"url":"https://api.github.com/repos/tocodeil/react-course-examples","forks_url":"https://api.github.com/repos/tocodeil/react-course-examples/forks","keys_url":"https://api.github.com/repos/tocodeil/react-course-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tocodeil/react-course-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tocodeil/react-course-examples/teams","hooks_url":"https://api.github.com/repos/tocodeil/react-course-examples/hooks","issue_events_url":"https://api.github.com/repos/tocodeil/react-course-examples/issues/events{/number}","events_url":"https://api.github.com/repos/tocodeil/react-course-examples/events","assignees_url":"https://api.github.com/repos/tocodeil/react-course-examples/assignees{/user}","branches_url":"https://api.github.com/repos/tocodeil/react-course-examples/branches{/branch}","tags_url":"https://api.github.com/repos/tocodeil/react-course-examples/tags","blobs_url":"https://api.github.com/repos/tocodeil/react-course-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tocodeil/react-course-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tocodeil/react-course-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/tocodeil/react-course-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tocodeil/react-course-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/tocodeil/react-course-examples/languages","stargazers_url":"https://api.github.com/repos/tocodeil/react-course-examples/stargazers","contributors_url":"https://api.github.com/repos/tocodeil/react-course-examples/contributors","subscribers_url":"https://api.github.com/repos/tocodeil/react-course-examples/subscribers","subscription_url":"https://api.github.com/repos/tocodeil/react-course-examples/subscription","commits_url":"https://api.github.com/repos/tocodeil/react-course-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/tocodeil/react-course-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/tocodeil/react-course-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/tocodeil/react-course-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/tocodeil/react-course-examples/contents/{+path}","compare_url":"https://api.github.com/repos/tocodeil/react-course-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tocodeil/react-course-examples/merges","archive_url":"https://api.github.com/repos/tocodeil/react-course-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tocodeil/react-course-examples/downloads","issues_url":"https://api.github.com/repos/tocodeil/react-course-examples/issues{/number}","pulls_url":"https://api.github.com/repos/tocodeil/react-course-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/tocodeil/react-course-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/tocodeil/react-course-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tocodeil/react-course-examples/labels{/name}","releases_url":"https://api.github.com/repos/tocodeil/react-course-examples/releases{/id}","deployments_url":"https://api.github.com/repos/tocodeil/react-course-examples/deployments","created_at":"2016-10-02T15:01:36Z","updated_at":"2016-12-09T18:13:28Z","pushed_at":"2016-12-19T22:21:35Z","git_url":"git://github.com/tocodeil/react-course-examples.git","ssh_url":"git@github.com:tocodeil/react-course-examples.git","clone_url":"https://github.com/tocodeil/react-course-examples.git","svn_url":"https://github.com/tocodeil/react-course-examples","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":9,"forks":10,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/10"},"html":{"href":"https://github.com/tocodeil/react-course-examples/pull/10"},"issue":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/issues/10"},"comments":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/tocodeil/react-course-examples/statuses/52c1b0b00b6243e5451f9b6105fcb844d75fbae9"}}}}
{"actor":{"display_login":"vnovick"}}