{"action":"created","comment":{"url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/comments/189119769","pull_request_review_id":121238726,"id":189119769,"diff_hunk":"@@ -0,0 +1,57 @@\n+import React, { Component } from \"react\";\n+import PropTypes from \"prop-types\";\n+import ListItem from \"../ListItem\";\n+\n+import \"./OrderedList.css\";\n+\n+class OrderedList extends Component {\n+    constructor(props) {\n+        super(props);\n+        this.state = { \n+            items: this.props.items,\n+        };\n+        this.setItemStrikethrough = this.setItemStrikethrough.bind(this);","path":"src/components/OrderedList/OrderedList.jsx","position":13,"original_position":13,"commit_id":"fdc0874db32873a04ad2106f4070c3667e385841","original_commit_id":"fdc0874db32873a04ad2106f4070c3667e385841","user":{"login":"arturvardanyan","id":29308756,"avatar_url":"https://avatars1.githubusercontent.com/u/29308756?v=4","gravatar_id":"","url":"https://api.github.com/users/arturvardanyan","html_url":"https://github.com/arturvardanyan","followers_url":"https://api.github.com/users/arturvardanyan/followers","following_url":"https://api.github.com/users/arturvardanyan/following{/other_user}","gists_url":"https://api.github.com/users/arturvardanyan/gists{/gist_id}","starred_url":"https://api.github.com/users/arturvardanyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturvardanyan/subscriptions","organizations_url":"https://api.github.com/users/arturvardanyan/orgs","repos_url":"https://api.github.com/users/arturvardanyan/repos","events_url":"https://api.github.com/users/arturvardanyan/events{/privacy}","received_events_url":"https://api.github.com/users/arturvardanyan/received_events","type":"User","site_admin":false},"body":":octocat: Պատասխան՝\r\n\r\n@Taguhi ջան չգիտեմ, թե ինչքանով է ճիշտ ասել\r\n > դուրս է եկել\r\n\r\nբայց քանի որ ես նոր եմ սկսել սովորել React, իմ համար կարևոր է իմանալ, թե ինչպես են գրել *նախկինում*։  Երբ ինչ որ *հին* կոդ տեսնեմ, չզարմանամ թե ինչի է .bind() գրված։\r\n\r\nԱյսինքն իմ համար խնդրի լուծումը պետք է բաղկացած լինի հետևյալ փուլերից՝ հանգում խնդրին, խնդրի լուծում (տվյալ դեպքում bind-ով), խնդրի լուծում նոր եղանակներով (arrow function, բայց bind-ով գրածը հասկանալուց հետո)։ Դրա համար այս եղանակով եմ գրում տնայինը դեռևս։ Arrow function-ով գրելաձևին ծանոթ եմ, այս շաբաթվա բոլոր տնայինները այսպես եմ գրելու .bind(this)-ով, հաջորդը արդեն կգրեմ նոր ձևով։","created_at":"2018-05-17T22:29:06Z","updated_at":"2018-05-17T22:29:06Z","html_url":"https://github.com/arturvardanyan/aca-homework-react/pull/3#discussion_r189119769","pull_request_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/comments/189119769"},"html":{"href":"https://github.com/arturvardanyan/aca-homework-react/pull/3#discussion_r189119769"},"pull_request":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/3"}},"in_reply_to_id":188980248},"pull_request":{"url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/3","id":188292355,"html_url":"https://github.com/arturvardanyan/aca-homework-react/pull/3","diff_url":"https://github.com/arturvardanyan/aca-homework-react/pull/3.diff","patch_url":"https://github.com/arturvardanyan/aca-homework-react/pull/3.patch","issue_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues/3","number":3,"state":"open","locked":false,"title":"Homework11 ex1","user":{"login":"arturvardanyan","id":29308756,"avatar_url":"https://avatars1.githubusercontent.com/u/29308756?v=4","gravatar_id":"","url":"https://api.github.com/users/arturvardanyan","html_url":"https://github.com/arturvardanyan","followers_url":"https://api.github.com/users/arturvardanyan/followers","following_url":"https://api.github.com/users/arturvardanyan/following{/other_user}","gists_url":"https://api.github.com/users/arturvardanyan/gists{/gist_id}","starred_url":"https://api.github.com/users/arturvardanyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturvardanyan/subscriptions","organizations_url":"https://api.github.com/users/arturvardanyan/orgs","repos_url":"https://api.github.com/users/arturvardanyan/repos","events_url":"https://api.github.com/users/arturvardanyan/events{/privacy}","received_events_url":"https://api.github.com/users/arturvardanyan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-16T00:47:44Z","updated_at":"2018-05-17T22:29:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81b77814d7df9397e28ec6b060716768e7daa114","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/3/commits","review_comments_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/3/comments","review_comment_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues/3/comments","statuses_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/statuses/fdc0874db32873a04ad2106f4070c3667e385841","head":{"label":"arturvardanyan:homework11-ex1","ref":"homework11-ex1","sha":"fdc0874db32873a04ad2106f4070c3667e385841","user":{"login":"arturvardanyan","id":29308756,"avatar_url":"https://avatars1.githubusercontent.com/u/29308756?v=4","gravatar_id":"","url":"https://api.github.com/users/arturvardanyan","html_url":"https://github.com/arturvardanyan","followers_url":"https://api.github.com/users/arturvardanyan/followers","following_url":"https://api.github.com/users/arturvardanyan/following{/other_user}","gists_url":"https://api.github.com/users/arturvardanyan/gists{/gist_id}","starred_url":"https://api.github.com/users/arturvardanyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturvardanyan/subscriptions","organizations_url":"https://api.github.com/users/arturvardanyan/orgs","repos_url":"https://api.github.com/users/arturvardanyan/repos","events_url":"https://api.github.com/users/arturvardanyan/events{/privacy}","received_events_url":"https://api.github.com/users/arturvardanyan/received_events","type":"User","site_admin":false},"repo":{"id":132811641,"name":"aca-homework-react","full_name":"arturvardanyan/aca-homework-react","owner":{"login":"arturvardanyan","id":29308756,"avatar_url":"https://avatars1.githubusercontent.com/u/29308756?v=4","gravatar_id":"","url":"https://api.github.com/users/arturvardanyan","html_url":"https://github.com/arturvardanyan","followers_url":"https://api.github.com/users/arturvardanyan/followers","following_url":"https://api.github.com/users/arturvardanyan/following{/other_user}","gists_url":"https://api.github.com/users/arturvardanyan/gists{/gist_id}","starred_url":"https://api.github.com/users/arturvardanyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturvardanyan/subscriptions","organizations_url":"https://api.github.com/users/arturvardanyan/orgs","repos_url":"https://api.github.com/users/arturvardanyan/repos","events_url":"https://api.github.com/users/arturvardanyan/events{/privacy}","received_events_url":"https://api.github.com/users/arturvardanyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arturvardanyan/aca-homework-react","description":"Armenian Code Academy Homework","fork":false,"url":"https://api.github.com/repos/arturvardanyan/aca-homework-react","forks_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/forks","keys_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/teams","hooks_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/hooks","issue_events_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues/events{/number}","events_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/events","assignees_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/assignees{/user}","branches_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/branches{/branch}","tags_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/tags","blobs_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/statuses/{sha}","languages_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/languages","stargazers_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/stargazers","contributors_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/contributors","subscribers_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/subscribers","subscription_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/subscription","commits_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/contents/{+path}","compare_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/merges","archive_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/downloads","issues_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues{/number}","pulls_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls{/number}","milestones_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/milestones{/number}","notifications_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/labels{/name}","releases_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/releases{/id}","deployments_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/deployments","created_at":"2018-05-09T20:52:17Z","updated_at":"2018-05-12T04:03:03Z","pushed_at":"2018-05-16T00:47:44Z","git_url":"git://github.com/arturvardanyan/aca-homework-react.git","ssh_url":"git@github.com:arturvardanyan/aca-homework-react.git","clone_url":"https://github.com/arturvardanyan/aca-homework-react.git","svn_url":"https://github.com/arturvardanyan/aca-homework-react","homepage":null,"size":392,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"arturvardanyan:master","ref":"master","sha":"175754156bda58e1609d70335193ead2f9835da0","user":{"login":"arturvardanyan","id":29308756,"avatar_url":"https://avatars1.githubusercontent.com/u/29308756?v=4","gravatar_id":"","url":"https://api.github.com/users/arturvardanyan","html_url":"https://github.com/arturvardanyan","followers_url":"https://api.github.com/users/arturvardanyan/followers","following_url":"https://api.github.com/users/arturvardanyan/following{/other_user}","gists_url":"https://api.github.com/users/arturvardanyan/gists{/gist_id}","starred_url":"https://api.github.com/users/arturvardanyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturvardanyan/subscriptions","organizations_url":"https://api.github.com/users/arturvardanyan/orgs","repos_url":"https://api.github.com/users/arturvardanyan/repos","events_url":"https://api.github.com/users/arturvardanyan/events{/privacy}","received_events_url":"https://api.github.com/users/arturvardanyan/received_events","type":"User","site_admin":false},"repo":{"id":132811641,"name":"aca-homework-react","full_name":"arturvardanyan/aca-homework-react","owner":{"login":"arturvardanyan","id":29308756,"avatar_url":"https://avatars1.githubusercontent.com/u/29308756?v=4","gravatar_id":"","url":"https://api.github.com/users/arturvardanyan","html_url":"https://github.com/arturvardanyan","followers_url":"https://api.github.com/users/arturvardanyan/followers","following_url":"https://api.github.com/users/arturvardanyan/following{/other_user}","gists_url":"https://api.github.com/users/arturvardanyan/gists{/gist_id}","starred_url":"https://api.github.com/users/arturvardanyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturvardanyan/subscriptions","organizations_url":"https://api.github.com/users/arturvardanyan/orgs","repos_url":"https://api.github.com/users/arturvardanyan/repos","events_url":"https://api.github.com/users/arturvardanyan/events{/privacy}","received_events_url":"https://api.github.com/users/arturvardanyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arturvardanyan/aca-homework-react","description":"Armenian Code Academy Homework","fork":false,"url":"https://api.github.com/repos/arturvardanyan/aca-homework-react","forks_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/forks","keys_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/teams","hooks_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/hooks","issue_events_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues/events{/number}","events_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/events","assignees_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/assignees{/user}","branches_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/branches{/branch}","tags_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/tags","blobs_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/statuses/{sha}","languages_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/languages","stargazers_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/stargazers","contributors_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/contributors","subscribers_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/subscribers","subscription_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/subscription","commits_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/contents/{+path}","compare_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/merges","archive_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/downloads","issues_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues{/number}","pulls_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls{/number}","milestones_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/milestones{/number}","notifications_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/labels{/name}","releases_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/releases{/id}","deployments_url":"https://api.github.com/repos/arturvardanyan/aca-homework-react/deployments","created_at":"2018-05-09T20:52:17Z","updated_at":"2018-05-12T04:03:03Z","pushed_at":"2018-05-16T00:47:44Z","git_url":"git://github.com/arturvardanyan/aca-homework-react.git","ssh_url":"git@github.com:arturvardanyan/aca-homework-react.git","clone_url":"https://github.com/arturvardanyan/aca-homework-react.git","svn_url":"https://github.com/arturvardanyan/aca-homework-react","homepage":null,"size":392,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/3"},"html":{"href":"https://github.com/arturvardanyan/aca-homework-react/pull/3"},"issue":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues/3"},"comments":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/arturvardanyan/aca-homework-react/statuses/fdc0874db32873a04ad2106f4070c3667e385841"}},"author_association":"OWNER"}}
{"actor":{"display_login":"arturvardanyan"}}