{"action":"created","comment":{"url":"https://api.github.com/repos/ishxo/homework/pulls/comments/189431669","pull_request_review_id":121615986,"id":189431669,"diff_hunk":"@@ -0,0 +1,54 @@\n+import React, { Component } from 'react';\n+import './App.css';\n+\n+const listItems = [\n+  { label: \"1. Wake up at 07:00.\",\n+    isThrough: false },\n+  { label: \"2. Leave for a work at 8:30.\",\n+    isThrough: false },\n+  { label: \"3. Meating at 11:00.\", \n+    isThrough: false },\n+  { label: \"4. 12:00-13:00 Launchtime.\",\n+    isThrough: false },\n+  { label: \"5. 18:15 shopping at the nearby grocery.\",\n+    isThrough: false },\n+  { label: \"6. Dinner with friends at the 19:20.\",\n+    isThrough: false },\n+  { label: \"7. Finish freelance work untill 01:00.\",\n+    isThrough: false } \n+]\n+class App extends Component {\n+  constructor(props) {\n+    super(props);\n+    this.state = {\n+      listArray: listItems,\n+    }\n+  }\n+  isLineThrough = (index) => {\n+    const { listArray } = this.state;\n+    //console.log(index);\n+    if ( index === 0 || listArray[index-1].isThrough === true) {\n+     \n+     listArray[index].isThrough = true;\n+    this.setState({ listArray: listArray });\n+    }\n+  }\n+  render() {\n+    const { listArray } = this.state;\n+    return (\n+      <div>\n+        {\n+          listArray.map((listItem, index) =>(\n+            <p \n+               key={listItem.label}\n+              onClick={() => this.isLineThrough(index)}\n+              className={`pHover ${ listItem.isThrough ? \"lineThrough\" : \"\"}`}\n+              >\n+              { listItem.label } </p>","path":"src/components/App/App.js","position":47,"original_position":47,"commit_id":"07f71d223af009ff546a9dcd110f95861edc00a5","original_commit_id":"07f71d223af009ff546a9dcd110f95861edc00a5","user":{"login":"Taguhi","id":6061793,"avatar_url":"https://avatars2.githubusercontent.com/u/6061793?v=4","gravatar_id":"","url":"https://api.github.com/users/Taguhi","html_url":"https://github.com/Taguhi","followers_url":"https://api.github.com/users/Taguhi/followers","following_url":"https://api.github.com/users/Taguhi/following{/other_user}","gists_url":"https://api.github.com/users/Taguhi/gists{/gist_id}","starred_url":"https://api.github.com/users/Taguhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taguhi/subscriptions","organizations_url":"https://api.github.com/users/Taguhi/orgs","repos_url":"https://api.github.com/users/Taguhi/repos","events_url":"https://api.github.com/users/Taguhi/events{/privacy}","received_events_url":"https://api.github.com/users/Taguhi/received_events","type":"User","site_admin":false},"body":"`</p>` ը նոր տողից արդեն","created_at":"2018-05-19T10:57:28Z","updated_at":"2018-05-19T10:58:22Z","html_url":"https://github.com/ishxo/homework/pull/2#discussion_r189431669","pull_request_url":"https://api.github.com/repos/ishxo/homework/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ishxo/homework/pulls/comments/189431669"},"html":{"href":"https://github.com/ishxo/homework/pull/2#discussion_r189431669"},"pull_request":{"href":"https://api.github.com/repos/ishxo/homework/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/ishxo/homework/pulls/2","id":189078035,"html_url":"https://github.com/ishxo/homework/pull/2","diff_url":"https://github.com/ishxo/homework/pull/2.diff","patch_url":"https://github.com/ishxo/homework/pull/2.patch","issue_url":"https://api.github.com/repos/ishxo/homework/issues/2","number":2,"state":"open","locked":false,"title":"Homework10.2","user":{"login":"ishxo","id":20131031,"avatar_url":"https://avatars0.githubusercontent.com/u/20131031?v=4","gravatar_id":"","url":"https://api.github.com/users/ishxo","html_url":"https://github.com/ishxo","followers_url":"https://api.github.com/users/ishxo/followers","following_url":"https://api.github.com/users/ishxo/following{/other_user}","gists_url":"https://api.github.com/users/ishxo/gists{/gist_id}","starred_url":"https://api.github.com/users/ishxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishxo/subscriptions","organizations_url":"https://api.github.com/users/ishxo/orgs","repos_url":"https://api.github.com/users/ishxo/repos","events_url":"https://api.github.com/users/ishxo/events{/privacy}","received_events_url":"https://api.github.com/users/ishxo/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-18T16:38:19Z","updated_at":"2018-05-19T10:58:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4d3c41007186a0ad4af6ec19a880d30ea2ac7c8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ishxo/homework/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ishxo/homework/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ishxo/homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ishxo/homework/issues/2/comments","statuses_url":"https://api.github.com/repos/ishxo/homework/statuses/07f71d223af009ff546a9dcd110f95861edc00a5","head":{"label":"ishxo:homework10.2","ref":"homework10.2","sha":"07f71d223af009ff546a9dcd110f95861edc00a5","user":{"login":"ishxo","id":20131031,"avatar_url":"https://avatars0.githubusercontent.com/u/20131031?v=4","gravatar_id":"","url":"https://api.github.com/users/ishxo","html_url":"https://github.com/ishxo","followers_url":"https://api.github.com/users/ishxo/followers","following_url":"https://api.github.com/users/ishxo/following{/other_user}","gists_url":"https://api.github.com/users/ishxo/gists{/gist_id}","starred_url":"https://api.github.com/users/ishxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishxo/subscriptions","organizations_url":"https://api.github.com/users/ishxo/orgs","repos_url":"https://api.github.com/users/ishxo/repos","events_url":"https://api.github.com/users/ishxo/events{/privacy}","received_events_url":"https://api.github.com/users/ishxo/received_events","type":"User","site_admin":false},"repo":{"id":133361512,"name":"homework","full_name":"ishxo/homework","owner":{"login":"ishxo","id":20131031,"avatar_url":"https://avatars0.githubusercontent.com/u/20131031?v=4","gravatar_id":"","url":"https://api.github.com/users/ishxo","html_url":"https://github.com/ishxo","followers_url":"https://api.github.com/users/ishxo/followers","following_url":"https://api.github.com/users/ishxo/following{/other_user}","gists_url":"https://api.github.com/users/ishxo/gists{/gist_id}","starred_url":"https://api.github.com/users/ishxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishxo/subscriptions","organizations_url":"https://api.github.com/users/ishxo/orgs","repos_url":"https://api.github.com/users/ishxo/repos","events_url":"https://api.github.com/users/ishxo/events{/privacy}","received_events_url":"https://api.github.com/users/ishxo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ishxo/homework","description":null,"fork":false,"url":"https://api.github.com/repos/ishxo/homework","forks_url":"https://api.github.com/repos/ishxo/homework/forks","keys_url":"https://api.github.com/repos/ishxo/homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ishxo/homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ishxo/homework/teams","hooks_url":"https://api.github.com/repos/ishxo/homework/hooks","issue_events_url":"https://api.github.com/repos/ishxo/homework/issues/events{/number}","events_url":"https://api.github.com/repos/ishxo/homework/events","assignees_url":"https://api.github.com/repos/ishxo/homework/assignees{/user}","branches_url":"https://api.github.com/repos/ishxo/homework/branches{/branch}","tags_url":"https://api.github.com/repos/ishxo/homework/tags","blobs_url":"https://api.github.com/repos/ishxo/homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ishxo/homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ishxo/homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ishxo/homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ishxo/homework/statuses/{sha}","languages_url":"https://api.github.com/repos/ishxo/homework/languages","stargazers_url":"https://api.github.com/repos/ishxo/homework/stargazers","contributors_url":"https://api.github.com/repos/ishxo/homework/contributors","subscribers_url":"https://api.github.com/repos/ishxo/homework/subscribers","subscription_url":"https://api.github.com/repos/ishxo/homework/subscription","commits_url":"https://api.github.com/repos/ishxo/homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ishxo/homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ishxo/homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ishxo/homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/ishxo/homework/contents/{+path}","compare_url":"https://api.github.com/repos/ishxo/homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ishxo/homework/merges","archive_url":"https://api.github.com/repos/ishxo/homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ishxo/homework/downloads","issues_url":"https://api.github.com/repos/ishxo/homework/issues{/number}","pulls_url":"https://api.github.com/repos/ishxo/homework/pulls{/number}","milestones_url":"https://api.github.com/repos/ishxo/homework/milestones{/number}","notifications_url":"https://api.github.com/repos/ishxo/homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ishxo/homework/labels{/name}","releases_url":"https://api.github.com/repos/ishxo/homework/releases{/id}","deployments_url":"https://api.github.com/repos/ishxo/homework/deployments","created_at":"2018-05-14T13:02:53Z","updated_at":"2018-05-14T13:08:36Z","pushed_at":"2018-05-18T16:38:20Z","git_url":"git://github.com/ishxo/homework.git","ssh_url":"git@github.com:ishxo/homework.git","clone_url":"https://github.com/ishxo/homework.git","svn_url":"https://github.com/ishxo/homework","homepage":null,"size":135,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ishxo:master","ref":"master","sha":"752ba154199c368222f45dd02c9d62c4f0b074d2","user":{"login":"ishxo","id":20131031,"avatar_url":"https://avatars0.githubusercontent.com/u/20131031?v=4","gravatar_id":"","url":"https://api.github.com/users/ishxo","html_url":"https://github.com/ishxo","followers_url":"https://api.github.com/users/ishxo/followers","following_url":"https://api.github.com/users/ishxo/following{/other_user}","gists_url":"https://api.github.com/users/ishxo/gists{/gist_id}","starred_url":"https://api.github.com/users/ishxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishxo/subscriptions","organizations_url":"https://api.github.com/users/ishxo/orgs","repos_url":"https://api.github.com/users/ishxo/repos","events_url":"https://api.github.com/users/ishxo/events{/privacy}","received_events_url":"https://api.github.com/users/ishxo/received_events","type":"User","site_admin":false},"repo":{"id":133361512,"name":"homework","full_name":"ishxo/homework","owner":{"login":"ishxo","id":20131031,"avatar_url":"https://avatars0.githubusercontent.com/u/20131031?v=4","gravatar_id":"","url":"https://api.github.com/users/ishxo","html_url":"https://github.com/ishxo","followers_url":"https://api.github.com/users/ishxo/followers","following_url":"https://api.github.com/users/ishxo/following{/other_user}","gists_url":"https://api.github.com/users/ishxo/gists{/gist_id}","starred_url":"https://api.github.com/users/ishxo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishxo/subscriptions","organizations_url":"https://api.github.com/users/ishxo/orgs","repos_url":"https://api.github.com/users/ishxo/repos","events_url":"https://api.github.com/users/ishxo/events{/privacy}","received_events_url":"https://api.github.com/users/ishxo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ishxo/homework","description":null,"fork":false,"url":"https://api.github.com/repos/ishxo/homework","forks_url":"https://api.github.com/repos/ishxo/homework/forks","keys_url":"https://api.github.com/repos/ishxo/homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ishxo/homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ishxo/homework/teams","hooks_url":"https://api.github.com/repos/ishxo/homework/hooks","issue_events_url":"https://api.github.com/repos/ishxo/homework/issues/events{/number}","events_url":"https://api.github.com/repos/ishxo/homework/events","assignees_url":"https://api.github.com/repos/ishxo/homework/assignees{/user}","branches_url":"https://api.github.com/repos/ishxo/homework/branches{/branch}","tags_url":"https://api.github.com/repos/ishxo/homework/tags","blobs_url":"https://api.github.com/repos/ishxo/homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ishxo/homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ishxo/homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ishxo/homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ishxo/homework/statuses/{sha}","languages_url":"https://api.github.com/repos/ishxo/homework/languages","stargazers_url":"https://api.github.com/repos/ishxo/homework/stargazers","contributors_url":"https://api.github.com/repos/ishxo/homework/contributors","subscribers_url":"https://api.github.com/repos/ishxo/homework/subscribers","subscription_url":"https://api.github.com/repos/ishxo/homework/subscription","commits_url":"https://api.github.com/repos/ishxo/homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ishxo/homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ishxo/homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ishxo/homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/ishxo/homework/contents/{+path}","compare_url":"https://api.github.com/repos/ishxo/homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ishxo/homework/merges","archive_url":"https://api.github.com/repos/ishxo/homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ishxo/homework/downloads","issues_url":"https://api.github.com/repos/ishxo/homework/issues{/number}","pulls_url":"https://api.github.com/repos/ishxo/homework/pulls{/number}","milestones_url":"https://api.github.com/repos/ishxo/homework/milestones{/number}","notifications_url":"https://api.github.com/repos/ishxo/homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ishxo/homework/labels{/name}","releases_url":"https://api.github.com/repos/ishxo/homework/releases{/id}","deployments_url":"https://api.github.com/repos/ishxo/homework/deployments","created_at":"2018-05-14T13:02:53Z","updated_at":"2018-05-14T13:08:36Z","pushed_at":"2018-05-18T16:38:20Z","git_url":"git://github.com/ishxo/homework.git","ssh_url":"git@github.com:ishxo/homework.git","clone_url":"https://github.com/ishxo/homework.git","svn_url":"https://github.com/ishxo/homework","homepage":null,"size":135,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ishxo/homework/pulls/2"},"html":{"href":"https://github.com/ishxo/homework/pull/2"},"issue":{"href":"https://api.github.com/repos/ishxo/homework/issues/2"},"comments":{"href":"https://api.github.com/repos/ishxo/homework/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ishxo/homework/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ishxo/homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ishxo/homework/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ishxo/homework/statuses/07f71d223af009ff546a9dcd110f95861edc00a5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Taguhi"}}