{"action":"created","comment":{"url":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/comments/197158898","pull_request_review_id":130847948,"id":197158898,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzE1ODg5OA==","diff_hunk":"@@ -0,0 +1,75 @@\n+import React, { Component } from 'react';\n+import PropTypes from 'prop-types';\n+import { connect } from 'react-redux';\n+import { Editor } from 'react-draft-wysiwyg';\n+import { EditorState, ContentState } from 'draft-js';\n+import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';\n+\n+import { subscribeToEditorChange, socketApi } from '../../js/api/socketApi';\n+\n+const JsDiff = require('diff');","path":"src/components/documents/SocketedTextArea.js","position":10,"original_position":10,"commit_id":"5ad7e0eb145d3defe969095cc4534e4c7c4657dd","original_commit_id":"5ad7e0eb145d3defe969095cc4534e4c7c4657dd","user":{"login":"ralekna","id":142561,"node_id":"MDQ6VXNlcjE0MjU2MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/142561?v=4","gravatar_id":"","url":"https://api.github.com/users/ralekna","html_url":"https://github.com/ralekna","followers_url":"https://api.github.com/users/ralekna/followers","following_url":"https://api.github.com/users/ralekna/following{/other_user}","gists_url":"https://api.github.com/users/ralekna/gists{/gist_id}","starred_url":"https://api.github.com/users/ralekna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralekna/subscriptions","organizations_url":"https://api.github.com/users/ralekna/orgs","repos_url":"https://api.github.com/users/ralekna/repos","events_url":"https://api.github.com/users/ralekna/events{/privacy}","received_events_url":"https://api.github.com/users/ralekna/received_events","type":"User","site_admin":false},"body":"You can import such libraries like this:\r\n`import * as JsDiff from 'diff';`","created_at":"2018-06-21T14:40:20Z","updated_at":"2018-06-21T14:42:03Z","html_url":"https://github.com/re-pe/simul-doc-fe/pull/15#discussion_r197158898","pull_request_url":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/15","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/comments/197158898"},"html":{"href":"https://github.com/re-pe/simul-doc-fe/pull/15#discussion_r197158898"},"pull_request":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/15","id":196441184,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NDQxMTg0","html_url":"https://github.com/re-pe/simul-doc-fe/pull/15","diff_url":"https://github.com/re-pe/simul-doc-fe/pull/15.diff","patch_url":"https://github.com/re-pe/simul-doc-fe/pull/15.patch","issue_url":"https://api.github.com/repos/re-pe/simul-doc-fe/issues/15","number":15,"state":"open","locked":false,"title":"Socket","user":{"login":"CAurimas","id":33081625,"node_id":"MDQ6VXNlcjMzMDgxNjI1","avatar_url":"https://avatars2.githubusercontent.com/u/33081625?v=4","gravatar_id":"","url":"https://api.github.com/users/CAurimas","html_url":"https://github.com/CAurimas","followers_url":"https://api.github.com/users/CAurimas/followers","following_url":"https://api.github.com/users/CAurimas/following{/other_user}","gists_url":"https://api.github.com/users/CAurimas/gists{/gist_id}","starred_url":"https://api.github.com/users/CAurimas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CAurimas/subscriptions","organizations_url":"https://api.github.com/users/CAurimas/orgs","repos_url":"https://api.github.com/users/CAurimas/repos","events_url":"https://api.github.com/users/CAurimas/events{/privacy}","received_events_url":"https://api.github.com/users/CAurimas/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-21T12:50:49Z","updated_at":"2018-06-21T14:42:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f240a13b517a47bf00457b7fa44a4e4481bab6e9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/15/commits","review_comments_url":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/15/comments","review_comment_url":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/re-pe/simul-doc-fe/issues/15/comments","statuses_url":"https://api.github.com/repos/re-pe/simul-doc-fe/statuses/5ad7e0eb145d3defe969095cc4534e4c7c4657dd","head":{"label":"re-pe:socket","ref":"socket","sha":"5ad7e0eb145d3defe969095cc4534e4c7c4657dd","user":{"login":"re-pe","id":11601381,"node_id":"MDQ6VXNlcjExNjAxMzgx","avatar_url":"https://avatars2.githubusercontent.com/u/11601381?v=4","gravatar_id":"","url":"https://api.github.com/users/re-pe","html_url":"https://github.com/re-pe","followers_url":"https://api.github.com/users/re-pe/followers","following_url":"https://api.github.com/users/re-pe/following{/other_user}","gists_url":"https://api.github.com/users/re-pe/gists{/gist_id}","starred_url":"https://api.github.com/users/re-pe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/re-pe/subscriptions","organizations_url":"https://api.github.com/users/re-pe/orgs","repos_url":"https://api.github.com/users/re-pe/repos","events_url":"https://api.github.com/users/re-pe/events{/privacy}","received_events_url":"https://api.github.com/users/re-pe/received_events","type":"User","site_admin":false},"repo":{"id":132606190,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2MDYxOTA=","name":"simul-doc-fe","full_name":"re-pe/simul-doc-fe","owner":{"login":"re-pe","id":11601381,"node_id":"MDQ6VXNlcjExNjAxMzgx","avatar_url":"https://avatars2.githubusercontent.com/u/11601381?v=4","gravatar_id":"","url":"https://api.github.com/users/re-pe","html_url":"https://github.com/re-pe","followers_url":"https://api.github.com/users/re-pe/followers","following_url":"https://api.github.com/users/re-pe/following{/other_user}","gists_url":"https://api.github.com/users/re-pe/gists{/gist_id}","starred_url":"https://api.github.com/users/re-pe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/re-pe/subscriptions","organizations_url":"https://api.github.com/users/re-pe/orgs","repos_url":"https://api.github.com/users/re-pe/repos","events_url":"https://api.github.com/users/re-pe/events{/privacy}","received_events_url":"https://api.github.com/users/re-pe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/re-pe/simul-doc-fe","description":null,"fork":false,"url":"https://api.github.com/repos/re-pe/simul-doc-fe","forks_url":"https://api.github.com/repos/re-pe/simul-doc-fe/forks","keys_url":"https://api.github.com/repos/re-pe/simul-doc-fe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/re-pe/simul-doc-fe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/re-pe/simul-doc-fe/teams","hooks_url":"https://api.github.com/repos/re-pe/simul-doc-fe/hooks","issue_events_url":"https://api.github.com/repos/re-pe/simul-doc-fe/issues/events{/number}","events_url":"https://api.github.com/repos/re-pe/simul-doc-fe/events","assignees_url":"https://api.github.com/repos/re-pe/simul-doc-fe/assignees{/user}","branches_url":"https://api.github.com/repos/re-pe/simul-doc-fe/branches{/branch}","tags_url":"https://api.github.com/repos/re-pe/simul-doc-fe/tags","blobs_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/refs{/sha}","trees_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/re-pe/simul-doc-fe/statuses/{sha}","languages_url":"https://api.github.com/repos/re-pe/simul-doc-fe/languages","stargazers_url":"https://api.github.com/repos/re-pe/simul-doc-fe/stargazers","contributors_url":"https://api.github.com/repos/re-pe/simul-doc-fe/contributors","subscribers_url":"https://api.github.com/repos/re-pe/simul-doc-fe/subscribers","subscription_url":"https://api.github.com/repos/re-pe/simul-doc-fe/subscription","commits_url":"https://api.github.com/repos/re-pe/simul-doc-fe/commits{/sha}","git_commits_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/commits{/sha}","comments_url":"https://api.github.com/repos/re-pe/simul-doc-fe/comments{/number}","issue_comment_url":"https://api.github.com/repos/re-pe/simul-doc-fe/issues/comments{/number}","contents_url":"https://api.github.com/repos/re-pe/simul-doc-fe/contents/{+path}","compare_url":"https://api.github.com/repos/re-pe/simul-doc-fe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/re-pe/simul-doc-fe/merges","archive_url":"https://api.github.com/repos/re-pe/simul-doc-fe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/re-pe/simul-doc-fe/downloads","issues_url":"https://api.github.com/repos/re-pe/simul-doc-fe/issues{/number}","pulls_url":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls{/number}","milestones_url":"https://api.github.com/repos/re-pe/simul-doc-fe/milestones{/number}","notifications_url":"https://api.github.com/repos/re-pe/simul-doc-fe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/re-pe/simul-doc-fe/labels{/name}","releases_url":"https://api.github.com/repos/re-pe/simul-doc-fe/releases{/id}","deployments_url":"https://api.github.com/repos/re-pe/simul-doc-fe/deployments","created_at":"2018-05-08T12:32:16Z","updated_at":"2018-06-19T09:29:57Z","pushed_at":"2018-06-21T12:53:30Z","git_url":"git://github.com/re-pe/simul-doc-fe.git","ssh_url":"git@github.com:re-pe/simul-doc-fe.git","clone_url":"https://github.com/re-pe/simul-doc-fe.git","svn_url":"https://github.com/re-pe/simul-doc-fe","homepage":null,"size":267,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"re-pe:develop","ref":"develop","sha":"b3fe31d7d83e5f530c4dc3461731087cd9916c5b","user":{"login":"re-pe","id":11601381,"node_id":"MDQ6VXNlcjExNjAxMzgx","avatar_url":"https://avatars2.githubusercontent.com/u/11601381?v=4","gravatar_id":"","url":"https://api.github.com/users/re-pe","html_url":"https://github.com/re-pe","followers_url":"https://api.github.com/users/re-pe/followers","following_url":"https://api.github.com/users/re-pe/following{/other_user}","gists_url":"https://api.github.com/users/re-pe/gists{/gist_id}","starred_url":"https://api.github.com/users/re-pe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/re-pe/subscriptions","organizations_url":"https://api.github.com/users/re-pe/orgs","repos_url":"https://api.github.com/users/re-pe/repos","events_url":"https://api.github.com/users/re-pe/events{/privacy}","received_events_url":"https://api.github.com/users/re-pe/received_events","type":"User","site_admin":false},"repo":{"id":132606190,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2MDYxOTA=","name":"simul-doc-fe","full_name":"re-pe/simul-doc-fe","owner":{"login":"re-pe","id":11601381,"node_id":"MDQ6VXNlcjExNjAxMzgx","avatar_url":"https://avatars2.githubusercontent.com/u/11601381?v=4","gravatar_id":"","url":"https://api.github.com/users/re-pe","html_url":"https://github.com/re-pe","followers_url":"https://api.github.com/users/re-pe/followers","following_url":"https://api.github.com/users/re-pe/following{/other_user}","gists_url":"https://api.github.com/users/re-pe/gists{/gist_id}","starred_url":"https://api.github.com/users/re-pe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/re-pe/subscriptions","organizations_url":"https://api.github.com/users/re-pe/orgs","repos_url":"https://api.github.com/users/re-pe/repos","events_url":"https://api.github.com/users/re-pe/events{/privacy}","received_events_url":"https://api.github.com/users/re-pe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/re-pe/simul-doc-fe","description":null,"fork":false,"url":"https://api.github.com/repos/re-pe/simul-doc-fe","forks_url":"https://api.github.com/repos/re-pe/simul-doc-fe/forks","keys_url":"https://api.github.com/repos/re-pe/simul-doc-fe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/re-pe/simul-doc-fe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/re-pe/simul-doc-fe/teams","hooks_url":"https://api.github.com/repos/re-pe/simul-doc-fe/hooks","issue_events_url":"https://api.github.com/repos/re-pe/simul-doc-fe/issues/events{/number}","events_url":"https://api.github.com/repos/re-pe/simul-doc-fe/events","assignees_url":"https://api.github.com/repos/re-pe/simul-doc-fe/assignees{/user}","branches_url":"https://api.github.com/repos/re-pe/simul-doc-fe/branches{/branch}","tags_url":"https://api.github.com/repos/re-pe/simul-doc-fe/tags","blobs_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/refs{/sha}","trees_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/re-pe/simul-doc-fe/statuses/{sha}","languages_url":"https://api.github.com/repos/re-pe/simul-doc-fe/languages","stargazers_url":"https://api.github.com/repos/re-pe/simul-doc-fe/stargazers","contributors_url":"https://api.github.com/repos/re-pe/simul-doc-fe/contributors","subscribers_url":"https://api.github.com/repos/re-pe/simul-doc-fe/subscribers","subscription_url":"https://api.github.com/repos/re-pe/simul-doc-fe/subscription","commits_url":"https://api.github.com/repos/re-pe/simul-doc-fe/commits{/sha}","git_commits_url":"https://api.github.com/repos/re-pe/simul-doc-fe/git/commits{/sha}","comments_url":"https://api.github.com/repos/re-pe/simul-doc-fe/comments{/number}","issue_comment_url":"https://api.github.com/repos/re-pe/simul-doc-fe/issues/comments{/number}","contents_url":"https://api.github.com/repos/re-pe/simul-doc-fe/contents/{+path}","compare_url":"https://api.github.com/repos/re-pe/simul-doc-fe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/re-pe/simul-doc-fe/merges","archive_url":"https://api.github.com/repos/re-pe/simul-doc-fe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/re-pe/simul-doc-fe/downloads","issues_url":"https://api.github.com/repos/re-pe/simul-doc-fe/issues{/number}","pulls_url":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls{/number}","milestones_url":"https://api.github.com/repos/re-pe/simul-doc-fe/milestones{/number}","notifications_url":"https://api.github.com/repos/re-pe/simul-doc-fe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/re-pe/simul-doc-fe/labels{/name}","releases_url":"https://api.github.com/repos/re-pe/simul-doc-fe/releases{/id}","deployments_url":"https://api.github.com/repos/re-pe/simul-doc-fe/deployments","created_at":"2018-05-08T12:32:16Z","updated_at":"2018-06-19T09:29:57Z","pushed_at":"2018-06-21T12:53:30Z","git_url":"git://github.com/re-pe/simul-doc-fe.git","ssh_url":"git@github.com:re-pe/simul-doc-fe.git","clone_url":"https://github.com/re-pe/simul-doc-fe.git","svn_url":"https://github.com/re-pe/simul-doc-fe","homepage":null,"size":267,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/15"},"html":{"href":"https://github.com/re-pe/simul-doc-fe/pull/15"},"issue":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/issues/15"},"comments":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/re-pe/simul-doc-fe/statuses/5ad7e0eb145d3defe969095cc4534e4c7c4657dd"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ralekna"}}