{"action":"created","comment":{"url":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/comments/27009751","id":27009751,"diff_hunk":"@@ -35,7 +35,7 @@ var FileDownloader = {\n     var rawUrlNode = document.querySelector('#raw-url');\n     if (rawUrlNode && !document.querySelector('#download-btn')) {\n       var fileName = document.querySelector('.breadcrumb .final-path').textContent;\n-      rawUrlNode.parentNode.innerHTML = \"<a download='\"+fileName+\"' href='\" + rawUrlNode.href + \"' class='minibutton' id='download-btn'>Download</a>\" + rawUrlNode.parentNode.innerHTML;\n+      rawUrlNode.parentNode.innerHTML = \"<a download='\"+fileName+\"' href='\" + rawUrlNode.href + \"' class='btn btn-sm' id='download-btn'>Download</a>\" + rawUrlNode.parentNode.innerHTML;","path":"script.js","position":5,"original_position":5,"commit_id":"4c43d25a7f477fc229bc6ba7207532178cfda32c","original_commit_id":"4c43d25a7f477fc229bc6ba7207532178cfda32c","user":{"login":"groseb","id":5783476,"avatar_url":"https://avatars.githubusercontent.com/u/5783476?v=3","gravatar_id":"","url":"https://api.github.com/users/groseb","html_url":"https://github.com/groseb","followers_url":"https://api.github.com/users/groseb/followers","following_url":"https://api.github.com/users/groseb/following{/other_user}","gists_url":"https://api.github.com/users/groseb/gists{/gist_id}","starred_url":"https://api.github.com/users/groseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groseb/subscriptions","organizations_url":"https://api.github.com/users/groseb/orgs","repos_url":"https://api.github.com/users/groseb/repos","events_url":"https://api.github.com/users/groseb/events{/privacy}","received_events_url":"https://api.github.com/users/groseb/received_events","type":"User","site_admin":false},"body":"Using DOM would be even better but it's not the issue here, i just wanted to fix the broken display :\r\n![issue](https://cloud.githubusercontent.com/assets/5783476/6797997/2528fb9a-d209-11e4-8f55-8a735a295fbc.png)\r\n","created_at":"2015-03-24T08:36:34Z","updated_at":"2015-03-24T08:36:34Z","html_url":"https://github.com/camsong/chrome-github-mate/pull/4#discussion_r27009751","pull_request_url":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/comments/27009751"},"html":{"href":"https://github.com/camsong/chrome-github-mate/pull/4#discussion_r27009751"},"pull_request":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/4","id":31805054,"html_url":"https://github.com/camsong/chrome-github-mate/pull/4","diff_url":"https://github.com/camsong/chrome-github-mate/pull/4.diff","patch_url":"https://github.com/camsong/chrome-github-mate/pull/4.patch","issue_url":"https://api.github.com/repos/camsong/chrome-github-mate/issues/4","number":4,"state":"open","locked":false,"title":"Change download button's classes","user":{"login":"groseb","id":5783476,"avatar_url":"https://avatars.githubusercontent.com/u/5783476?v=3","gravatar_id":"","url":"https://api.github.com/users/groseb","html_url":"https://github.com/groseb","followers_url":"https://api.github.com/users/groseb/followers","following_url":"https://api.github.com/users/groseb/following{/other_user}","gists_url":"https://api.github.com/users/groseb/gists{/gist_id}","starred_url":"https://api.github.com/users/groseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groseb/subscriptions","organizations_url":"https://api.github.com/users/groseb/orgs","repos_url":"https://api.github.com/users/groseb/repos","events_url":"https://api.github.com/users/groseb/events{/privacy}","received_events_url":"https://api.github.com/users/groseb/received_events","type":"User","site_admin":false},"body":"Github seems to have changed some class names ; file actions buttons now have classes btn and btn-sm","created_at":"2015-03-24T08:22:58Z","updated_at":"2015-03-24T08:36:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94d9abea769012f92bc0ad636b0b74079a715e0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/4/commits","review_comments_url":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/4/comments","review_comment_url":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camsong/chrome-github-mate/issues/4/comments","statuses_url":"https://api.github.com/repos/camsong/chrome-github-mate/statuses/4c43d25a7f477fc229bc6ba7207532178cfda32c","head":{"label":"groseb:patch-1","ref":"patch-1","sha":"4c43d25a7f477fc229bc6ba7207532178cfda32c","user":{"login":"groseb","id":5783476,"avatar_url":"https://avatars.githubusercontent.com/u/5783476?v=3","gravatar_id":"","url":"https://api.github.com/users/groseb","html_url":"https://github.com/groseb","followers_url":"https://api.github.com/users/groseb/followers","following_url":"https://api.github.com/users/groseb/following{/other_user}","gists_url":"https://api.github.com/users/groseb/gists{/gist_id}","starred_url":"https://api.github.com/users/groseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groseb/subscriptions","organizations_url":"https://api.github.com/users/groseb/orgs","repos_url":"https://api.github.com/users/groseb/repos","events_url":"https://api.github.com/users/groseb/events{/privacy}","received_events_url":"https://api.github.com/users/groseb/received_events","type":"User","site_admin":false},"repo":{"id":32785610,"name":"chrome-github-mate","full_name":"groseb/chrome-github-mate","owner":{"login":"groseb","id":5783476,"avatar_url":"https://avatars.githubusercontent.com/u/5783476?v=3","gravatar_id":"","url":"https://api.github.com/users/groseb","html_url":"https://github.com/groseb","followers_url":"https://api.github.com/users/groseb/followers","following_url":"https://api.github.com/users/groseb/following{/other_user}","gists_url":"https://api.github.com/users/groseb/gists{/gist_id}","starred_url":"https://api.github.com/users/groseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groseb/subscriptions","organizations_url":"https://api.github.com/users/groseb/orgs","repos_url":"https://api.github.com/users/groseb/repos","events_url":"https://api.github.com/users/groseb/events{/privacy}","received_events_url":"https://api.github.com/users/groseb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/groseb/chrome-github-mate","description":"Chrome extension to make single file download effortless and with more features","fork":true,"url":"https://api.github.com/repos/groseb/chrome-github-mate","forks_url":"https://api.github.com/repos/groseb/chrome-github-mate/forks","keys_url":"https://api.github.com/repos/groseb/chrome-github-mate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/groseb/chrome-github-mate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/groseb/chrome-github-mate/teams","hooks_url":"https://api.github.com/repos/groseb/chrome-github-mate/hooks","issue_events_url":"https://api.github.com/repos/groseb/chrome-github-mate/issues/events{/number}","events_url":"https://api.github.com/repos/groseb/chrome-github-mate/events","assignees_url":"https://api.github.com/repos/groseb/chrome-github-mate/assignees{/user}","branches_url":"https://api.github.com/repos/groseb/chrome-github-mate/branches{/branch}","tags_url":"https://api.github.com/repos/groseb/chrome-github-mate/tags","blobs_url":"https://api.github.com/repos/groseb/chrome-github-mate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/groseb/chrome-github-mate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/groseb/chrome-github-mate/git/refs{/sha}","trees_url":"https://api.github.com/repos/groseb/chrome-github-mate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/groseb/chrome-github-mate/statuses/{sha}","languages_url":"https://api.github.com/repos/groseb/chrome-github-mate/languages","stargazers_url":"https://api.github.com/repos/groseb/chrome-github-mate/stargazers","contributors_url":"https://api.github.com/repos/groseb/chrome-github-mate/contributors","subscribers_url":"https://api.github.com/repos/groseb/chrome-github-mate/subscribers","subscription_url":"https://api.github.com/repos/groseb/chrome-github-mate/subscription","commits_url":"https://api.github.com/repos/groseb/chrome-github-mate/commits{/sha}","git_commits_url":"https://api.github.com/repos/groseb/chrome-github-mate/git/commits{/sha}","comments_url":"https://api.github.com/repos/groseb/chrome-github-mate/comments{/number}","issue_comment_url":"https://api.github.com/repos/groseb/chrome-github-mate/issues/comments{/number}","contents_url":"https://api.github.com/repos/groseb/chrome-github-mate/contents/{+path}","compare_url":"https://api.github.com/repos/groseb/chrome-github-mate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/groseb/chrome-github-mate/merges","archive_url":"https://api.github.com/repos/groseb/chrome-github-mate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/groseb/chrome-github-mate/downloads","issues_url":"https://api.github.com/repos/groseb/chrome-github-mate/issues{/number}","pulls_url":"https://api.github.com/repos/groseb/chrome-github-mate/pulls{/number}","milestones_url":"https://api.github.com/repos/groseb/chrome-github-mate/milestones{/number}","notifications_url":"https://api.github.com/repos/groseb/chrome-github-mate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/groseb/chrome-github-mate/labels{/name}","releases_url":"https://api.github.com/repos/groseb/chrome-github-mate/releases{/id}","created_at":"2015-03-24T08:19:34Z","updated_at":"2015-03-24T08:19:35Z","pushed_at":"2015-03-24T08:22:26Z","git_url":"git://github.com/groseb/chrome-github-mate.git","ssh_url":"git@github.com:groseb/chrome-github-mate.git","clone_url":"https://github.com/groseb/chrome-github-mate.git","svn_url":"https://github.com/groseb/chrome-github-mate","homepage":"https://chrome.google.com/webstore/detail/github-mate/baggcehellihkglakjnmnhpnjmkbmpkf","size":494,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"camsong:master","ref":"master","sha":"72d2015a5c0b47ac4ec36b3ebfd5b8ac7ed46896","user":{"login":"camsong","id":948896,"avatar_url":"https://avatars.githubusercontent.com/u/948896?v=3","gravatar_id":"","url":"https://api.github.com/users/camsong","html_url":"https://github.com/camsong","followers_url":"https://api.github.com/users/camsong/followers","following_url":"https://api.github.com/users/camsong/following{/other_user}","gists_url":"https://api.github.com/users/camsong/gists{/gist_id}","starred_url":"https://api.github.com/users/camsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camsong/subscriptions","organizations_url":"https://api.github.com/users/camsong/orgs","repos_url":"https://api.github.com/users/camsong/repos","events_url":"https://api.github.com/users/camsong/events{/privacy}","received_events_url":"https://api.github.com/users/camsong/received_events","type":"User","site_admin":false},"repo":{"id":15226712,"name":"chrome-github-mate","full_name":"camsong/chrome-github-mate","owner":{"login":"camsong","id":948896,"avatar_url":"https://avatars.githubusercontent.com/u/948896?v=3","gravatar_id":"","url":"https://api.github.com/users/camsong","html_url":"https://github.com/camsong","followers_url":"https://api.github.com/users/camsong/followers","following_url":"https://api.github.com/users/camsong/following{/other_user}","gists_url":"https://api.github.com/users/camsong/gists{/gist_id}","starred_url":"https://api.github.com/users/camsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camsong/subscriptions","organizations_url":"https://api.github.com/users/camsong/orgs","repos_url":"https://api.github.com/users/camsong/repos","events_url":"https://api.github.com/users/camsong/events{/privacy}","received_events_url":"https://api.github.com/users/camsong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/camsong/chrome-github-mate","description":"Chrome extension to make single file download effortless and with more features","fork":false,"url":"https://api.github.com/repos/camsong/chrome-github-mate","forks_url":"https://api.github.com/repos/camsong/chrome-github-mate/forks","keys_url":"https://api.github.com/repos/camsong/chrome-github-mate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camsong/chrome-github-mate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camsong/chrome-github-mate/teams","hooks_url":"https://api.github.com/repos/camsong/chrome-github-mate/hooks","issue_events_url":"https://api.github.com/repos/camsong/chrome-github-mate/issues/events{/number}","events_url":"https://api.github.com/repos/camsong/chrome-github-mate/events","assignees_url":"https://api.github.com/repos/camsong/chrome-github-mate/assignees{/user}","branches_url":"https://api.github.com/repos/camsong/chrome-github-mate/branches{/branch}","tags_url":"https://api.github.com/repos/camsong/chrome-github-mate/tags","blobs_url":"https://api.github.com/repos/camsong/chrome-github-mate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camsong/chrome-github-mate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camsong/chrome-github-mate/git/refs{/sha}","trees_url":"https://api.github.com/repos/camsong/chrome-github-mate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camsong/chrome-github-mate/statuses/{sha}","languages_url":"https://api.github.com/repos/camsong/chrome-github-mate/languages","stargazers_url":"https://api.github.com/repos/camsong/chrome-github-mate/stargazers","contributors_url":"https://api.github.com/repos/camsong/chrome-github-mate/contributors","subscribers_url":"https://api.github.com/repos/camsong/chrome-github-mate/subscribers","subscription_url":"https://api.github.com/repos/camsong/chrome-github-mate/subscription","commits_url":"https://api.github.com/repos/camsong/chrome-github-mate/commits{/sha}","git_commits_url":"https://api.github.com/repos/camsong/chrome-github-mate/git/commits{/sha}","comments_url":"https://api.github.com/repos/camsong/chrome-github-mate/comments{/number}","issue_comment_url":"https://api.github.com/repos/camsong/chrome-github-mate/issues/comments{/number}","contents_url":"https://api.github.com/repos/camsong/chrome-github-mate/contents/{+path}","compare_url":"https://api.github.com/repos/camsong/chrome-github-mate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camsong/chrome-github-mate/merges","archive_url":"https://api.github.com/repos/camsong/chrome-github-mate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camsong/chrome-github-mate/downloads","issues_url":"https://api.github.com/repos/camsong/chrome-github-mate/issues{/number}","pulls_url":"https://api.github.com/repos/camsong/chrome-github-mate/pulls{/number}","milestones_url":"https://api.github.com/repos/camsong/chrome-github-mate/milestones{/number}","notifications_url":"https://api.github.com/repos/camsong/chrome-github-mate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camsong/chrome-github-mate/labels{/name}","releases_url":"https://api.github.com/repos/camsong/chrome-github-mate/releases{/id}","created_at":"2013-12-16T13:40:27Z","updated_at":"2015-03-08T02:43:47Z","pushed_at":"2015-03-24T08:22:58Z","git_url":"git://github.com/camsong/chrome-github-mate.git","ssh_url":"git@github.com:camsong/chrome-github-mate.git","clone_url":"https://github.com/camsong/chrome-github-mate.git","svn_url":"https://github.com/camsong/chrome-github-mate","homepage":"https://chrome.google.com/webstore/detail/github-mate/baggcehellihkglakjnmnhpnjmkbmpkf","size":660,"stargazers_count":30,"watchers_count":30,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/4"},"html":{"href":"https://github.com/camsong/chrome-github-mate/pull/4"},"issue":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/issues/4"},"comments":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/camsong/chrome-github-mate/statuses/4c43d25a7f477fc229bc6ba7207532178cfda32c"}}}}