{"action":"created","comment":{"url":"https://api.github.com/repos/Anush17/list/pulls/comments/174921683","pull_request_review_id":104368032,"id":174921683,"diff_hunk":"@@ -0,0 +1,43 @@\n+'use strict';\n+\n+$(function () {\n+    function userList() {\n+\n+        let names = ['Armen Gevorgyan', 'Gurgen Surenyan', 'Levon Levonyan', 'Armine Sahakyan', 'Hermine Gareginyan'],\n+            text = '',\n+            txtArea = $('#txt'),\n+            start = txtArea.prop('selectionStart'),\n+            end = txtArea.prop('selectionStart');\n+            $('#box').addClass('block');\n+\n+        function eventBind() {\n+            txtArea.on('click ', function (e) {\n+                currentPosition();\n+                e.preventDefault();\n+            });\n+            txtArea.on('keydown', function (e) {\n+                if (e.keyCode === 37) {","path":"js/script.js","position":19,"original_position":19,"commit_id":"35fb500326c128ddf977b4db6acb8e9dafde00c3","original_commit_id":"35fb500326c128ddf977b4db6acb8e9dafde00c3","user":{"login":"Mariam13","id":23053096,"avatar_url":"https://avatars2.githubusercontent.com/u/23053096?v=4","gravatar_id":"","url":"https://api.github.com/users/Mariam13","html_url":"https://github.com/Mariam13","followers_url":"https://api.github.com/users/Mariam13/followers","following_url":"https://api.github.com/users/Mariam13/following{/other_user}","gists_url":"https://api.github.com/users/Mariam13/gists{/gist_id}","starred_url":"https://api.github.com/users/Mariam13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mariam13/subscriptions","organizations_url":"https://api.github.com/users/Mariam13/orgs","repos_url":"https://api.github.com/users/Mariam13/repos","events_url":"https://api.github.com/users/Mariam13/events{/privacy}","received_events_url":"https://api.github.com/users/Mariam13/received_events","type":"User","site_admin":false},"body":"@Anush17 please make local variable for e.keyCode","created_at":"2018-03-15T20:28:18Z","updated_at":"2018-03-15T20:28:18Z","html_url":"https://github.com/Anush17/list/pull/1#discussion_r174921683","pull_request_url":"https://api.github.com/repos/Anush17/list/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Anush17/list/pulls/comments/174921683"},"html":{"href":"https://github.com/Anush17/list/pull/1#discussion_r174921683"},"pull_request":{"href":"https://api.github.com/repos/Anush17/list/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Anush17/list/pulls/1","id":175153251,"html_url":"https://github.com/Anush17/list/pull/1","diff_url":"https://github.com/Anush17/list/pull/1.diff","patch_url":"https://github.com/Anush17/list/pull/1.patch","issue_url":"https://api.github.com/repos/Anush17/list/issues/1","number":1,"state":"open","locked":false,"title":"created function that print user list when typed '@'","user":{"login":"Anush17","id":22674378,"avatar_url":"https://avatars2.githubusercontent.com/u/22674378?v=4","gravatar_id":"","url":"https://api.github.com/users/Anush17","html_url":"https://github.com/Anush17","followers_url":"https://api.github.com/users/Anush17/followers","following_url":"https://api.github.com/users/Anush17/following{/other_user}","gists_url":"https://api.github.com/users/Anush17/gists{/gist_id}","starred_url":"https://api.github.com/users/Anush17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anush17/subscriptions","organizations_url":"https://api.github.com/users/Anush17/orgs","repos_url":"https://api.github.com/users/Anush17/repos","events_url":"https://api.github.com/users/Anush17/events{/privacy}","received_events_url":"https://api.github.com/users/Anush17/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-15T05:38:32Z","updated_at":"2018-03-15T20:28:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0e9c632c06023c58b73b5ba11409229fddc2106","assignee":{"login":"Mariam13","id":23053096,"avatar_url":"https://avatars2.githubusercontent.com/u/23053096?v=4","gravatar_id":"","url":"https://api.github.com/users/Mariam13","html_url":"https://github.com/Mariam13","followers_url":"https://api.github.com/users/Mariam13/followers","following_url":"https://api.github.com/users/Mariam13/following{/other_user}","gists_url":"https://api.github.com/users/Mariam13/gists{/gist_id}","starred_url":"https://api.github.com/users/Mariam13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mariam13/subscriptions","organizations_url":"https://api.github.com/users/Mariam13/orgs","repos_url":"https://api.github.com/users/Mariam13/repos","events_url":"https://api.github.com/users/Mariam13/events{/privacy}","received_events_url":"https://api.github.com/users/Mariam13/received_events","type":"User","site_admin":false},"assignees":[{"login":"Mariam13","id":23053096,"avatar_url":"https://avatars2.githubusercontent.com/u/23053096?v=4","gravatar_id":"","url":"https://api.github.com/users/Mariam13","html_url":"https://github.com/Mariam13","followers_url":"https://api.github.com/users/Mariam13/followers","following_url":"https://api.github.com/users/Mariam13/following{/other_user}","gists_url":"https://api.github.com/users/Mariam13/gists{/gist_id}","starred_url":"https://api.github.com/users/Mariam13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mariam13/subscriptions","organizations_url":"https://api.github.com/users/Mariam13/orgs","repos_url":"https://api.github.com/users/Mariam13/repos","events_url":"https://api.github.com/users/Mariam13/events{/privacy}","received_events_url":"https://api.github.com/users/Mariam13/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Anush17/list/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Anush17/list/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Anush17/list/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Anush17/list/issues/1/comments","statuses_url":"https://api.github.com/repos/Anush17/list/statuses/35fb500326c128ddf977b4db6acb8e9dafde00c3","head":{"label":"Anush17:develop","ref":"develop","sha":"35fb500326c128ddf977b4db6acb8e9dafde00c3","user":{"login":"Anush17","id":22674378,"avatar_url":"https://avatars2.githubusercontent.com/u/22674378?v=4","gravatar_id":"","url":"https://api.github.com/users/Anush17","html_url":"https://github.com/Anush17","followers_url":"https://api.github.com/users/Anush17/followers","following_url":"https://api.github.com/users/Anush17/following{/other_user}","gists_url":"https://api.github.com/users/Anush17/gists{/gist_id}","starred_url":"https://api.github.com/users/Anush17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anush17/subscriptions","organizations_url":"https://api.github.com/users/Anush17/orgs","repos_url":"https://api.github.com/users/Anush17/repos","events_url":"https://api.github.com/users/Anush17/events{/privacy}","received_events_url":"https://api.github.com/users/Anush17/received_events","type":"User","site_admin":false},"repo":{"id":125220319,"name":"list","full_name":"Anush17/list","owner":{"login":"Anush17","id":22674378,"avatar_url":"https://avatars2.githubusercontent.com/u/22674378?v=4","gravatar_id":"","url":"https://api.github.com/users/Anush17","html_url":"https://github.com/Anush17","followers_url":"https://api.github.com/users/Anush17/followers","following_url":"https://api.github.com/users/Anush17/following{/other_user}","gists_url":"https://api.github.com/users/Anush17/gists{/gist_id}","starred_url":"https://api.github.com/users/Anush17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anush17/subscriptions","organizations_url":"https://api.github.com/users/Anush17/orgs","repos_url":"https://api.github.com/users/Anush17/repos","events_url":"https://api.github.com/users/Anush17/events{/privacy}","received_events_url":"https://api.github.com/users/Anush17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Anush17/list","description":null,"fork":false,"url":"https://api.github.com/repos/Anush17/list","forks_url":"https://api.github.com/repos/Anush17/list/forks","keys_url":"https://api.github.com/repos/Anush17/list/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Anush17/list/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Anush17/list/teams","hooks_url":"https://api.github.com/repos/Anush17/list/hooks","issue_events_url":"https://api.github.com/repos/Anush17/list/issues/events{/number}","events_url":"https://api.github.com/repos/Anush17/list/events","assignees_url":"https://api.github.com/repos/Anush17/list/assignees{/user}","branches_url":"https://api.github.com/repos/Anush17/list/branches{/branch}","tags_url":"https://api.github.com/repos/Anush17/list/tags","blobs_url":"https://api.github.com/repos/Anush17/list/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Anush17/list/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Anush17/list/git/refs{/sha}","trees_url":"https://api.github.com/repos/Anush17/list/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Anush17/list/statuses/{sha}","languages_url":"https://api.github.com/repos/Anush17/list/languages","stargazers_url":"https://api.github.com/repos/Anush17/list/stargazers","contributors_url":"https://api.github.com/repos/Anush17/list/contributors","subscribers_url":"https://api.github.com/repos/Anush17/list/subscribers","subscription_url":"https://api.github.com/repos/Anush17/list/subscription","commits_url":"https://api.github.com/repos/Anush17/list/commits{/sha}","git_commits_url":"https://api.github.com/repos/Anush17/list/git/commits{/sha}","comments_url":"https://api.github.com/repos/Anush17/list/comments{/number}","issue_comment_url":"https://api.github.com/repos/Anush17/list/issues/comments{/number}","contents_url":"https://api.github.com/repos/Anush17/list/contents/{+path}","compare_url":"https://api.github.com/repos/Anush17/list/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Anush17/list/merges","archive_url":"https://api.github.com/repos/Anush17/list/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Anush17/list/downloads","issues_url":"https://api.github.com/repos/Anush17/list/issues{/number}","pulls_url":"https://api.github.com/repos/Anush17/list/pulls{/number}","milestones_url":"https://api.github.com/repos/Anush17/list/milestones{/number}","notifications_url":"https://api.github.com/repos/Anush17/list/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Anush17/list/labels{/name}","releases_url":"https://api.github.com/repos/Anush17/list/releases{/id}","deployments_url":"https://api.github.com/repos/Anush17/list/deployments","created_at":"2018-03-14T13:53:34Z","updated_at":"2018-03-14T14:05:23Z","pushed_at":"2018-03-15T10:53:36Z","git_url":"git://github.com/Anush17/list.git","ssh_url":"git@github.com:Anush17/list.git","clone_url":"https://github.com/Anush17/list.git","svn_url":"https://github.com/Anush17/list","homepage":null,"size":33,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Anush17:master","ref":"master","sha":"5d06cade2af9fe8e0f17310bf0a7497aebbf06e9","user":{"login":"Anush17","id":22674378,"avatar_url":"https://avatars2.githubusercontent.com/u/22674378?v=4","gravatar_id":"","url":"https://api.github.com/users/Anush17","html_url":"https://github.com/Anush17","followers_url":"https://api.github.com/users/Anush17/followers","following_url":"https://api.github.com/users/Anush17/following{/other_user}","gists_url":"https://api.github.com/users/Anush17/gists{/gist_id}","starred_url":"https://api.github.com/users/Anush17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anush17/subscriptions","organizations_url":"https://api.github.com/users/Anush17/orgs","repos_url":"https://api.github.com/users/Anush17/repos","events_url":"https://api.github.com/users/Anush17/events{/privacy}","received_events_url":"https://api.github.com/users/Anush17/received_events","type":"User","site_admin":false},"repo":{"id":125220319,"name":"list","full_name":"Anush17/list","owner":{"login":"Anush17","id":22674378,"avatar_url":"https://avatars2.githubusercontent.com/u/22674378?v=4","gravatar_id":"","url":"https://api.github.com/users/Anush17","html_url":"https://github.com/Anush17","followers_url":"https://api.github.com/users/Anush17/followers","following_url":"https://api.github.com/users/Anush17/following{/other_user}","gists_url":"https://api.github.com/users/Anush17/gists{/gist_id}","starred_url":"https://api.github.com/users/Anush17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anush17/subscriptions","organizations_url":"https://api.github.com/users/Anush17/orgs","repos_url":"https://api.github.com/users/Anush17/repos","events_url":"https://api.github.com/users/Anush17/events{/privacy}","received_events_url":"https://api.github.com/users/Anush17/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Anush17/list","description":null,"fork":false,"url":"https://api.github.com/repos/Anush17/list","forks_url":"https://api.github.com/repos/Anush17/list/forks","keys_url":"https://api.github.com/repos/Anush17/list/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Anush17/list/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Anush17/list/teams","hooks_url":"https://api.github.com/repos/Anush17/list/hooks","issue_events_url":"https://api.github.com/repos/Anush17/list/issues/events{/number}","events_url":"https://api.github.com/repos/Anush17/list/events","assignees_url":"https://api.github.com/repos/Anush17/list/assignees{/user}","branches_url":"https://api.github.com/repos/Anush17/list/branches{/branch}","tags_url":"https://api.github.com/repos/Anush17/list/tags","blobs_url":"https://api.github.com/repos/Anush17/list/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Anush17/list/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Anush17/list/git/refs{/sha}","trees_url":"https://api.github.com/repos/Anush17/list/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Anush17/list/statuses/{sha}","languages_url":"https://api.github.com/repos/Anush17/list/languages","stargazers_url":"https://api.github.com/repos/Anush17/list/stargazers","contributors_url":"https://api.github.com/repos/Anush17/list/contributors","subscribers_url":"https://api.github.com/repos/Anush17/list/subscribers","subscription_url":"https://api.github.com/repos/Anush17/list/subscription","commits_url":"https://api.github.com/repos/Anush17/list/commits{/sha}","git_commits_url":"https://api.github.com/repos/Anush17/list/git/commits{/sha}","comments_url":"https://api.github.com/repos/Anush17/list/comments{/number}","issue_comment_url":"https://api.github.com/repos/Anush17/list/issues/comments{/number}","contents_url":"https://api.github.com/repos/Anush17/list/contents/{+path}","compare_url":"https://api.github.com/repos/Anush17/list/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Anush17/list/merges","archive_url":"https://api.github.com/repos/Anush17/list/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Anush17/list/downloads","issues_url":"https://api.github.com/repos/Anush17/list/issues{/number}","pulls_url":"https://api.github.com/repos/Anush17/list/pulls{/number}","milestones_url":"https://api.github.com/repos/Anush17/list/milestones{/number}","notifications_url":"https://api.github.com/repos/Anush17/list/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Anush17/list/labels{/name}","releases_url":"https://api.github.com/repos/Anush17/list/releases{/id}","deployments_url":"https://api.github.com/repos/Anush17/list/deployments","created_at":"2018-03-14T13:53:34Z","updated_at":"2018-03-14T14:05:23Z","pushed_at":"2018-03-15T10:53:36Z","git_url":"git://github.com/Anush17/list.git","ssh_url":"git@github.com:Anush17/list.git","clone_url":"https://github.com/Anush17/list.git","svn_url":"https://github.com/Anush17/list","homepage":null,"size":33,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Anush17/list/pulls/1"},"html":{"href":"https://github.com/Anush17/list/pull/1"},"issue":{"href":"https://api.github.com/repos/Anush17/list/issues/1"},"comments":{"href":"https://api.github.com/repos/Anush17/list/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Anush17/list/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Anush17/list/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Anush17/list/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Anush17/list/statuses/35fb500326c128ddf977b4db6acb8e9dafde00c3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Mariam13"}}