{"action":"created","comment":{"url":"https://api.github.com/repos/yuuki999/chat-space/pulls/comments/229925478","pull_request_review_id":170540517,"id":229925478,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTkyNTQ3OA==","diff_hunk":"@@ -19,23 +19,26 @@ $(function(){\n           'scrollTop': $('.messages')[0].scrollHeight\n         }, 'fast');\n     var formData = new FormData(this);\n-    console.log(this);\n     var url = window.location.href\n \n     $.ajax({\n       url:          url,\n       type:         \"POST\",\n       data:         formData,\n       dataType:     'json',\n-      processData:  false,\n       contentType:  false,\n+      processData:  false,\n     })\n     .done(function(data){\n-      var html = buildHTML(data)\n-      $(\".messages\").append(html)\n+      var html = buildHTML(data);\n+      $(\".content\").append(html)\n+      $(\".content-message__tag\").val('');\n     })\n     .fail(function(){\n       alert('error');\n     })\n+    .always(function(){","path":"app/assets/javascripts/chat-space.js","position":40,"original_position":26,"commit_id":"effa05de502ab8abfedf52d56afaa20e3e9d8bd9","original_commit_id":"d9df698df45c9e0b6176d15ced2e75284bc77b65","user":{"login":"yuuki999","id":42520705,"node_id":"MDQ6VXNlcjQyNTIwNzA1","avatar_url":"https://avatars2.githubusercontent.com/u/42520705?v=4","gravatar_id":"","url":"https://api.github.com/users/yuuki999","html_url":"https://github.com/yuuki999","followers_url":"https://api.github.com/users/yuuki999/followers","following_url":"https://api.github.com/users/yuuki999/following{/other_user}","gists_url":"https://api.github.com/users/yuuki999/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki999/subscriptions","organizations_url":"https://api.github.com/users/yuuki999/orgs","repos_url":"https://api.github.com/users/yuuki999/repos","events_url":"https://api.github.com/users/yuuki999/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki999/received_events","type":"User","site_admin":false},"body":"この部分でdisabledを削除したのですがフォームリセットの指摘の改善になってますでしょうか？","created_at":"2018-11-01T02:49:24Z","updated_at":"2018-11-01T02:49:24Z","html_url":"https://github.com/yuuki999/chat-space/pull/9#discussion_r229925478","pull_request_url":"https://api.github.com/repos/yuuki999/chat-space/pulls/9","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/yuuki999/chat-space/pulls/comments/229925478"},"html":{"href":"https://github.com/yuuki999/chat-space/pull/9#discussion_r229925478"},"pull_request":{"href":"https://api.github.com/repos/yuuki999/chat-space/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/yuuki999/chat-space/pulls/9","id":226824293,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2ODI0Mjkz","html_url":"https://github.com/yuuki999/chat-space/pull/9","diff_url":"https://github.com/yuuki999/chat-space/pull/9.diff","patch_url":"https://github.com/yuuki999/chat-space/pull/9.patch","issue_url":"https://api.github.com/repos/yuuki999/chat-space/issues/9","number":9,"state":"open","locked":false,"title":"[WIP]メッセージ送信機能の非同期通信化","user":{"login":"yuuki999","id":42520705,"node_id":"MDQ6VXNlcjQyNTIwNzA1","avatar_url":"https://avatars2.githubusercontent.com/u/42520705?v=4","gravatar_id":"","url":"https://api.github.com/users/yuuki999","html_url":"https://github.com/yuuki999","followers_url":"https://api.github.com/users/yuuki999/followers","following_url":"https://api.github.com/users/yuuki999/following{/other_user}","gists_url":"https://api.github.com/users/yuuki999/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki999/subscriptions","organizations_url":"https://api.github.com/users/yuuki999/orgs","repos_url":"https://api.github.com/users/yuuki999/repos","events_url":"https://api.github.com/users/yuuki999/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki999/received_events","type":"User","site_admin":false},"body":"# WHAT\r\nメッセージ送信機能の非同期通信化\r\n\r\n# WHY\r\nUI改善","created_at":"2018-10-30T08:02:32Z","updated_at":"2018-11-01T02:49:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec311bfa8c9d2c0e3480e980adaba8757021cc76","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yuuki999/chat-space/pulls/9/commits","review_comments_url":"https://api.github.com/repos/yuuki999/chat-space/pulls/9/comments","review_comment_url":"https://api.github.com/repos/yuuki999/chat-space/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuuki999/chat-space/issues/9/comments","statuses_url":"https://api.github.com/repos/yuuki999/chat-space/statuses/effa05de502ab8abfedf52d56afaa20e3e9d8bd9","head":{"label":"yuuki999:asynchronous","ref":"asynchronous","sha":"effa05de502ab8abfedf52d56afaa20e3e9d8bd9","user":{"login":"yuuki999","id":42520705,"node_id":"MDQ6VXNlcjQyNTIwNzA1","avatar_url":"https://avatars2.githubusercontent.com/u/42520705?v=4","gravatar_id":"","url":"https://api.github.com/users/yuuki999","html_url":"https://github.com/yuuki999","followers_url":"https://api.github.com/users/yuuki999/followers","following_url":"https://api.github.com/users/yuuki999/following{/other_user}","gists_url":"https://api.github.com/users/yuuki999/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki999/subscriptions","organizations_url":"https://api.github.com/users/yuuki999/orgs","repos_url":"https://api.github.com/users/yuuki999/repos","events_url":"https://api.github.com/users/yuuki999/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki999/received_events","type":"User","site_admin":false},"repo":{"id":153976358,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM5NzYzNTg=","name":"chat-space","full_name":"yuuki999/chat-space","private":false,"owner":{"login":"yuuki999","id":42520705,"node_id":"MDQ6VXNlcjQyNTIwNzA1","avatar_url":"https://avatars2.githubusercontent.com/u/42520705?v=4","gravatar_id":"","url":"https://api.github.com/users/yuuki999","html_url":"https://github.com/yuuki999","followers_url":"https://api.github.com/users/yuuki999/followers","following_url":"https://api.github.com/users/yuuki999/following{/other_user}","gists_url":"https://api.github.com/users/yuuki999/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki999/subscriptions","organizations_url":"https://api.github.com/users/yuuki999/orgs","repos_url":"https://api.github.com/users/yuuki999/repos","events_url":"https://api.github.com/users/yuuki999/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki999/received_events","type":"User","site_admin":false},"html_url":"https://github.com/yuuki999/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/yuuki999/chat-space","forks_url":"https://api.github.com/repos/yuuki999/chat-space/forks","keys_url":"https://api.github.com/repos/yuuki999/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuuki999/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuuki999/chat-space/teams","hooks_url":"https://api.github.com/repos/yuuki999/chat-space/hooks","issue_events_url":"https://api.github.com/repos/yuuki999/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/yuuki999/chat-space/events","assignees_url":"https://api.github.com/repos/yuuki999/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/yuuki999/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/yuuki999/chat-space/tags","blobs_url":"https://api.github.com/repos/yuuki999/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuuki999/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuuki999/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuuki999/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuuki999/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/yuuki999/chat-space/languages","stargazers_url":"https://api.github.com/repos/yuuki999/chat-space/stargazers","contributors_url":"https://api.github.com/repos/yuuki999/chat-space/contributors","subscribers_url":"https://api.github.com/repos/yuuki999/chat-space/subscribers","subscription_url":"https://api.github.com/repos/yuuki999/chat-space/subscription","commits_url":"https://api.github.com/repos/yuuki999/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuuki999/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuuki999/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuuki999/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuuki999/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/yuuki999/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuuki999/chat-space/merges","archive_url":"https://api.github.com/repos/yuuki999/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuuki999/chat-space/downloads","issues_url":"https://api.github.com/repos/yuuki999/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/yuuki999/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/yuuki999/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/yuuki999/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuuki999/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/yuuki999/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/yuuki999/chat-space/deployments","created_at":"2018-10-21T05:25:32Z","updated_at":"2018-10-30T07:53:37Z","pushed_at":"2018-11-01T02:29:56Z","git_url":"git://github.com/yuuki999/chat-space.git","ssh_url":"git@github.com:yuuki999/chat-space.git","clone_url":"https://github.com/yuuki999/chat-space.git","svn_url":"https://github.com/yuuki999/chat-space","homepage":null,"size":138,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"yuuki999:master","ref":"master","sha":"97aec7436fe1636ff0650c1cde4bce07522faf8f","user":{"login":"yuuki999","id":42520705,"node_id":"MDQ6VXNlcjQyNTIwNzA1","avatar_url":"https://avatars2.githubusercontent.com/u/42520705?v=4","gravatar_id":"","url":"https://api.github.com/users/yuuki999","html_url":"https://github.com/yuuki999","followers_url":"https://api.github.com/users/yuuki999/followers","following_url":"https://api.github.com/users/yuuki999/following{/other_user}","gists_url":"https://api.github.com/users/yuuki999/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki999/subscriptions","organizations_url":"https://api.github.com/users/yuuki999/orgs","repos_url":"https://api.github.com/users/yuuki999/repos","events_url":"https://api.github.com/users/yuuki999/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki999/received_events","type":"User","site_admin":false},"repo":{"id":153976358,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM5NzYzNTg=","name":"chat-space","full_name":"yuuki999/chat-space","private":false,"owner":{"login":"yuuki999","id":42520705,"node_id":"MDQ6VXNlcjQyNTIwNzA1","avatar_url":"https://avatars2.githubusercontent.com/u/42520705?v=4","gravatar_id":"","url":"https://api.github.com/users/yuuki999","html_url":"https://github.com/yuuki999","followers_url":"https://api.github.com/users/yuuki999/followers","following_url":"https://api.github.com/users/yuuki999/following{/other_user}","gists_url":"https://api.github.com/users/yuuki999/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki999/subscriptions","organizations_url":"https://api.github.com/users/yuuki999/orgs","repos_url":"https://api.github.com/users/yuuki999/repos","events_url":"https://api.github.com/users/yuuki999/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki999/received_events","type":"User","site_admin":false},"html_url":"https://github.com/yuuki999/chat-space","description":null,"fork":false,"url":"https://api.github.com/repos/yuuki999/chat-space","forks_url":"https://api.github.com/repos/yuuki999/chat-space/forks","keys_url":"https://api.github.com/repos/yuuki999/chat-space/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuuki999/chat-space/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuuki999/chat-space/teams","hooks_url":"https://api.github.com/repos/yuuki999/chat-space/hooks","issue_events_url":"https://api.github.com/repos/yuuki999/chat-space/issues/events{/number}","events_url":"https://api.github.com/repos/yuuki999/chat-space/events","assignees_url":"https://api.github.com/repos/yuuki999/chat-space/assignees{/user}","branches_url":"https://api.github.com/repos/yuuki999/chat-space/branches{/branch}","tags_url":"https://api.github.com/repos/yuuki999/chat-space/tags","blobs_url":"https://api.github.com/repos/yuuki999/chat-space/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuuki999/chat-space/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuuki999/chat-space/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuuki999/chat-space/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuuki999/chat-space/statuses/{sha}","languages_url":"https://api.github.com/repos/yuuki999/chat-space/languages","stargazers_url":"https://api.github.com/repos/yuuki999/chat-space/stargazers","contributors_url":"https://api.github.com/repos/yuuki999/chat-space/contributors","subscribers_url":"https://api.github.com/repos/yuuki999/chat-space/subscribers","subscription_url":"https://api.github.com/repos/yuuki999/chat-space/subscription","commits_url":"https://api.github.com/repos/yuuki999/chat-space/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuuki999/chat-space/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuuki999/chat-space/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuuki999/chat-space/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuuki999/chat-space/contents/{+path}","compare_url":"https://api.github.com/repos/yuuki999/chat-space/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuuki999/chat-space/merges","archive_url":"https://api.github.com/repos/yuuki999/chat-space/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuuki999/chat-space/downloads","issues_url":"https://api.github.com/repos/yuuki999/chat-space/issues{/number}","pulls_url":"https://api.github.com/repos/yuuki999/chat-space/pulls{/number}","milestones_url":"https://api.github.com/repos/yuuki999/chat-space/milestones{/number}","notifications_url":"https://api.github.com/repos/yuuki999/chat-space/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuuki999/chat-space/labels{/name}","releases_url":"https://api.github.com/repos/yuuki999/chat-space/releases{/id}","deployments_url":"https://api.github.com/repos/yuuki999/chat-space/deployments","created_at":"2018-10-21T05:25:32Z","updated_at":"2018-10-30T07:53:37Z","pushed_at":"2018-11-01T02:29:56Z","git_url":"git://github.com/yuuki999/chat-space.git","ssh_url":"git@github.com:yuuki999/chat-space.git","clone_url":"https://github.com/yuuki999/chat-space.git","svn_url":"https://github.com/yuuki999/chat-space","homepage":null,"size":138,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/yuuki999/chat-space/pulls/9"},"html":{"href":"https://github.com/yuuki999/chat-space/pull/9"},"issue":{"href":"https://api.github.com/repos/yuuki999/chat-space/issues/9"},"comments":{"href":"https://api.github.com/repos/yuuki999/chat-space/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/yuuki999/chat-space/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/yuuki999/chat-space/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuuki999/chat-space/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/yuuki999/chat-space/statuses/effa05de502ab8abfedf52d56afaa20e3e9d8bd9"}},"author_association":"OWNER"}}
{"actor":{"display_login":"yuuki999"}}