{"action":"created","comment":{"url":"https://api.github.com/repos/arsenal826/protospace/pulls/comments/72811492","id":72811492,"diff_hunk":"@@ -0,0 +1,38 @@\n+$(window).on(\"ready page:load\", function(){\n+  $('input[type=file]').change(function(){\n+    main_prototype(this);\n+  });\n+})\n+\n+\n+$(window).on(\"ready page:load\", function(){\n+  $('.user_file_input').change(function(){\n+    new_user(this);\n+  });\n+})\n+","path":"app/assets/javascripts/upload.js","position":13,"original_position":13,"commit_id":"3045455487451c68ad1c276c66ab6e0716badd9d","original_commit_id":"3045455487451c68ad1c276c66ab6e0716badd9d","user":{"login":"ArakawaShintaro","id":13927364,"avatar_url":"https://avatars.githubusercontent.com/u/13927364?v=3","gravatar_id":"","url":"https://api.github.com/users/ArakawaShintaro","html_url":"https://github.com/ArakawaShintaro","followers_url":"https://api.github.com/users/ArakawaShintaro/followers","following_url":"https://api.github.com/users/ArakawaShintaro/following{/other_user}","gists_url":"https://api.github.com/users/ArakawaShintaro/gists{/gist_id}","starred_url":"https://api.github.com/users/ArakawaShintaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArakawaShintaro/subscriptions","organizations_url":"https://api.github.com/users/ArakawaShintaro/orgs","repos_url":"https://api.github.com/users/ArakawaShintaro/repos","events_url":"https://api.github.com/users/ArakawaShintaro/events{/privacy}","received_events_url":"https://api.github.com/users/ArakawaShintaro/received_events","type":"User","site_admin":false},"body":"改行多い。","created_at":"2016-07-29T15:30:44Z","updated_at":"2016-07-29T15:30:44Z","html_url":"https://github.com/arsenal826/protospace/pull/18#discussion_r72811492","pull_request_url":"https://api.github.com/repos/arsenal826/protospace/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/arsenal826/protospace/pulls/comments/72811492"},"html":{"href":"https://github.com/arsenal826/protospace/pull/18#discussion_r72811492"},"pull_request":{"href":"https://api.github.com/repos/arsenal826/protospace/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/arsenal826/protospace/pulls/18","id":78591995,"html_url":"https://github.com/arsenal826/protospace/pull/18","diff_url":"https://github.com/arsenal826/protospace/pull/18.diff","patch_url":"https://github.com/arsenal826/protospace/pull/18.patch","issue_url":"https://api.github.com/repos/arsenal826/protospace/issues/18","number":18,"state":"open","locked":false,"title":"Add js","user":{"login":"arsenal826","id":17822558,"avatar_url":"https://avatars.githubusercontent.com/u/17822558?v=3","gravatar_id":"","url":"https://api.github.com/users/arsenal826","html_url":"https://github.com/arsenal826","followers_url":"https://api.github.com/users/arsenal826/followers","following_url":"https://api.github.com/users/arsenal826/following{/other_user}","gists_url":"https://api.github.com/users/arsenal826/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenal826/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenal826/subscriptions","organizations_url":"https://api.github.com/users/arsenal826/orgs","repos_url":"https://api.github.com/users/arsenal826/repos","events_url":"https://api.github.com/users/arsenal826/events{/privacy}","received_events_url":"https://api.github.com/users/arsenal826/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n  プロトタイプとユーザーの画像アップロード時に、JSを追加する\r\n# WHY\r\n  ユーザーがアップロードした画像がわかるようにするため。","created_at":"2016-07-24T07:32:29Z","updated_at":"2016-07-29T15:30:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4289172f34b289da6de6e58eab3a38f516b395c5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/arsenal826/protospace/pulls/18/commits","review_comments_url":"https://api.github.com/repos/arsenal826/protospace/pulls/18/comments","review_comment_url":"https://api.github.com/repos/arsenal826/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arsenal826/protospace/issues/18/comments","statuses_url":"https://api.github.com/repos/arsenal826/protospace/statuses/3045455487451c68ad1c276c66ab6e0716badd9d","head":{"label":"arsenal826:add_js","ref":"add_js","sha":"3045455487451c68ad1c276c66ab6e0716badd9d","user":{"login":"arsenal826","id":17822558,"avatar_url":"https://avatars.githubusercontent.com/u/17822558?v=3","gravatar_id":"","url":"https://api.github.com/users/arsenal826","html_url":"https://github.com/arsenal826","followers_url":"https://api.github.com/users/arsenal826/followers","following_url":"https://api.github.com/users/arsenal826/following{/other_user}","gists_url":"https://api.github.com/users/arsenal826/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenal826/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenal826/subscriptions","organizations_url":"https://api.github.com/users/arsenal826/orgs","repos_url":"https://api.github.com/users/arsenal826/repos","events_url":"https://api.github.com/users/arsenal826/events{/privacy}","received_events_url":"https://api.github.com/users/arsenal826/received_events","type":"User","site_admin":false},"repo":{"id":59395427,"name":"protospace","full_name":"arsenal826/protospace","owner":{"login":"arsenal826","id":17822558,"avatar_url":"https://avatars.githubusercontent.com/u/17822558?v=3","gravatar_id":"","url":"https://api.github.com/users/arsenal826","html_url":"https://github.com/arsenal826","followers_url":"https://api.github.com/users/arsenal826/followers","following_url":"https://api.github.com/users/arsenal826/following{/other_user}","gists_url":"https://api.github.com/users/arsenal826/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenal826/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenal826/subscriptions","organizations_url":"https://api.github.com/users/arsenal826/orgs","repos_url":"https://api.github.com/users/arsenal826/repos","events_url":"https://api.github.com/users/arsenal826/events{/privacy}","received_events_url":"https://api.github.com/users/arsenal826/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arsenal826/protospace","description":"","fork":false,"url":"https://api.github.com/repos/arsenal826/protospace","forks_url":"https://api.github.com/repos/arsenal826/protospace/forks","keys_url":"https://api.github.com/repos/arsenal826/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arsenal826/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arsenal826/protospace/teams","hooks_url":"https://api.github.com/repos/arsenal826/protospace/hooks","issue_events_url":"https://api.github.com/repos/arsenal826/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/arsenal826/protospace/events","assignees_url":"https://api.github.com/repos/arsenal826/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/arsenal826/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/arsenal826/protospace/tags","blobs_url":"https://api.github.com/repos/arsenal826/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arsenal826/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arsenal826/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/arsenal826/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arsenal826/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/arsenal826/protospace/languages","stargazers_url":"https://api.github.com/repos/arsenal826/protospace/stargazers","contributors_url":"https://api.github.com/repos/arsenal826/protospace/contributors","subscribers_url":"https://api.github.com/repos/arsenal826/protospace/subscribers","subscription_url":"https://api.github.com/repos/arsenal826/protospace/subscription","commits_url":"https://api.github.com/repos/arsenal826/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/arsenal826/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/arsenal826/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/arsenal826/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/arsenal826/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/arsenal826/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arsenal826/protospace/merges","archive_url":"https://api.github.com/repos/arsenal826/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arsenal826/protospace/downloads","issues_url":"https://api.github.com/repos/arsenal826/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/arsenal826/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/arsenal826/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/arsenal826/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arsenal826/protospace/labels{/name}","releases_url":"https://api.github.com/repos/arsenal826/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/arsenal826/protospace/deployments","created_at":"2016-05-22T04:51:00Z","updated_at":"2016-05-25T07:48:47Z","pushed_at":"2016-07-29T13:30:43Z","git_url":"git://github.com/arsenal826/protospace.git","ssh_url":"git@github.com:arsenal826/protospace.git","clone_url":"https://github.com/arsenal826/protospace.git","svn_url":"https://github.com/arsenal826/protospace","homepage":"","size":677,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"arsenal826:master","ref":"master","sha":"213e142ef5e51e3d34ff4fbd670f77e34c864656","user":{"login":"arsenal826","id":17822558,"avatar_url":"https://avatars.githubusercontent.com/u/17822558?v=3","gravatar_id":"","url":"https://api.github.com/users/arsenal826","html_url":"https://github.com/arsenal826","followers_url":"https://api.github.com/users/arsenal826/followers","following_url":"https://api.github.com/users/arsenal826/following{/other_user}","gists_url":"https://api.github.com/users/arsenal826/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenal826/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenal826/subscriptions","organizations_url":"https://api.github.com/users/arsenal826/orgs","repos_url":"https://api.github.com/users/arsenal826/repos","events_url":"https://api.github.com/users/arsenal826/events{/privacy}","received_events_url":"https://api.github.com/users/arsenal826/received_events","type":"User","site_admin":false},"repo":{"id":59395427,"name":"protospace","full_name":"arsenal826/protospace","owner":{"login":"arsenal826","id":17822558,"avatar_url":"https://avatars.githubusercontent.com/u/17822558?v=3","gravatar_id":"","url":"https://api.github.com/users/arsenal826","html_url":"https://github.com/arsenal826","followers_url":"https://api.github.com/users/arsenal826/followers","following_url":"https://api.github.com/users/arsenal826/following{/other_user}","gists_url":"https://api.github.com/users/arsenal826/gists{/gist_id}","starred_url":"https://api.github.com/users/arsenal826/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsenal826/subscriptions","organizations_url":"https://api.github.com/users/arsenal826/orgs","repos_url":"https://api.github.com/users/arsenal826/repos","events_url":"https://api.github.com/users/arsenal826/events{/privacy}","received_events_url":"https://api.github.com/users/arsenal826/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arsenal826/protospace","description":"","fork":false,"url":"https://api.github.com/repos/arsenal826/protospace","forks_url":"https://api.github.com/repos/arsenal826/protospace/forks","keys_url":"https://api.github.com/repos/arsenal826/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arsenal826/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arsenal826/protospace/teams","hooks_url":"https://api.github.com/repos/arsenal826/protospace/hooks","issue_events_url":"https://api.github.com/repos/arsenal826/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/arsenal826/protospace/events","assignees_url":"https://api.github.com/repos/arsenal826/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/arsenal826/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/arsenal826/protospace/tags","blobs_url":"https://api.github.com/repos/arsenal826/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arsenal826/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arsenal826/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/arsenal826/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arsenal826/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/arsenal826/protospace/languages","stargazers_url":"https://api.github.com/repos/arsenal826/protospace/stargazers","contributors_url":"https://api.github.com/repos/arsenal826/protospace/contributors","subscribers_url":"https://api.github.com/repos/arsenal826/protospace/subscribers","subscription_url":"https://api.github.com/repos/arsenal826/protospace/subscription","commits_url":"https://api.github.com/repos/arsenal826/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/arsenal826/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/arsenal826/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/arsenal826/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/arsenal826/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/arsenal826/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arsenal826/protospace/merges","archive_url":"https://api.github.com/repos/arsenal826/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arsenal826/protospace/downloads","issues_url":"https://api.github.com/repos/arsenal826/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/arsenal826/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/arsenal826/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/arsenal826/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arsenal826/protospace/labels{/name}","releases_url":"https://api.github.com/repos/arsenal826/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/arsenal826/protospace/deployments","created_at":"2016-05-22T04:51:00Z","updated_at":"2016-05-25T07:48:47Z","pushed_at":"2016-07-29T13:30:43Z","git_url":"git://github.com/arsenal826/protospace.git","ssh_url":"git@github.com:arsenal826/protospace.git","clone_url":"https://github.com/arsenal826/protospace.git","svn_url":"https://github.com/arsenal826/protospace","homepage":"","size":677,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arsenal826/protospace/pulls/18"},"html":{"href":"https://github.com/arsenal826/protospace/pull/18"},"issue":{"href":"https://api.github.com/repos/arsenal826/protospace/issues/18"},"comments":{"href":"https://api.github.com/repos/arsenal826/protospace/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/arsenal826/protospace/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/arsenal826/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arsenal826/protospace/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/arsenal826/protospace/statuses/3045455487451c68ad1c276c66ab6e0716badd9d"}}}}
{"actor":{"display_login":"ArakawaShintaro"}}