{"action":"created","comment":{"url":"https://api.github.com/repos/scala-js/scala-js-website/pulls/comments/51138205","id":51138205,"diff_hunk":"@@ -43,8 +43,8 @@\n     var version = $(\"#version-sel\").val();\r\n     var style = $(\"#style-sel\").val();\r\n     $(\"#shield\").attr(\"src\", \"/assets/badges/scalajs-\"+version+\".svg\");\r\n-    var code = style == \"Markdown\" ? \"[![Scala.js](http://scala-js.org/assets/badges/scalajs-\"+version+\".svg)](http://scala-js.org)\" :\r\n-      '<img src=\"http://scala-js.org/assets/badges/scalajs-'+version+'.svg\">';\r\n+    var code = style == \"Markdown\" ? \"[![Scala.js](https://scala-js.org/assets/badges/scalajs-\"+version+\".svg)](https://www.scala-js.org)\" :\r\n+      '<img src=\"https://scala-js.org/assets/badges/scalajs-'+version+'.svg\">';\r","path":"_includes/badge-generator.html","position":7,"original_position":7,"commit_id":"3e3336dff2be9f9bf5e3352b2ae9807777c141f6","original_commit_id":"3e3336dff2be9f9bf5e3352b2ae9807777c141f6","user":{"login":"sjrd","id":535934,"avatar_url":"https://avatars.githubusercontent.com/u/535934?v=3","gravatar_id":"","url":"https://api.github.com/users/sjrd","html_url":"https://github.com/sjrd","followers_url":"https://api.github.com/users/sjrd/followers","following_url":"https://api.github.com/users/sjrd/following{/other_user}","gists_url":"https://api.github.com/users/sjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/sjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjrd/subscriptions","organizations_url":"https://api.github.com/users/sjrd/orgs","repos_url":"https://api.github.com/users/sjrd/repos","events_url":"https://api.github.com/users/sjrd/events{/privacy}","received_events_url":"https://api.github.com/users/sjrd/received_events","type":"User","site_admin":false},"body":"In fact, it would be better to use `{{ site.production_url }}/assets/...`","created_at":"2016-01-28T15:38:24Z","updated_at":"2016-01-28T15:38:24Z","html_url":"https://github.com/scala-js/scala-js-website/pull/233#discussion_r51138205","pull_request_url":"https://api.github.com/repos/scala-js/scala-js-website/pulls/233","_links":{"self":{"href":"https://api.github.com/repos/scala-js/scala-js-website/pulls/comments/51138205"},"html":{"href":"https://github.com/scala-js/scala-js-website/pull/233#discussion_r51138205"},"pull_request":{"href":"https://api.github.com/repos/scala-js/scala-js-website/pulls/233"}}},"pull_request":{"url":"https://api.github.com/repos/scala-js/scala-js-website/pulls/233","id":57517877,"html_url":"https://github.com/scala-js/scala-js-website/pull/233","diff_url":"https://github.com/scala-js/scala-js-website/pull/233.diff","patch_url":"https://github.com/scala-js/scala-js-website/pull/233.patch","issue_url":"https://api.github.com/repos/scala-js/scala-js-website/issues/233","number":233,"state":"open","locked":false,"title":"Moved badge generator to Libraries main page","user":{"login":"ochrons","id":629483,"avatar_url":"https://avatars.githubusercontent.com/u/629483?v=3","gravatar_id":"","url":"https://api.github.com/users/ochrons","html_url":"https://github.com/ochrons","followers_url":"https://api.github.com/users/ochrons/followers","following_url":"https://api.github.com/users/ochrons/following{/other_user}","gists_url":"https://api.github.com/users/ochrons/gists{/gist_id}","starred_url":"https://api.github.com/users/ochrons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ochrons/subscriptions","organizations_url":"https://api.github.com/users/ochrons/orgs","repos_url":"https://api.github.com/users/ochrons/repos","events_url":"https://api.github.com/users/ochrons/events{/privacy}","received_events_url":"https://api.github.com/users/ochrons/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-28T15:31:16Z","updated_at":"2016-01-28T15:38:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52f335a1f1eeb43b7ceb3f04bc81cafe26c1490f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scala-js/scala-js-website/pulls/233/commits","review_comments_url":"https://api.github.com/repos/scala-js/scala-js-website/pulls/233/comments","review_comment_url":"https://api.github.com/repos/scala-js/scala-js-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala-js/scala-js-website/issues/233/comments","statuses_url":"https://api.github.com/repos/scala-js/scala-js-website/statuses/3e3336dff2be9f9bf5e3352b2ae9807777c141f6","head":{"label":"ochrons:badges","ref":"badges","sha":"3e3336dff2be9f9bf5e3352b2ae9807777c141f6","user":{"login":"ochrons","id":629483,"avatar_url":"https://avatars.githubusercontent.com/u/629483?v=3","gravatar_id":"","url":"https://api.github.com/users/ochrons","html_url":"https://github.com/ochrons","followers_url":"https://api.github.com/users/ochrons/followers","following_url":"https://api.github.com/users/ochrons/following{/other_user}","gists_url":"https://api.github.com/users/ochrons/gists{/gist_id}","starred_url":"https://api.github.com/users/ochrons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ochrons/subscriptions","organizations_url":"https://api.github.com/users/ochrons/orgs","repos_url":"https://api.github.com/users/ochrons/repos","events_url":"https://api.github.com/users/ochrons/events{/privacy}","received_events_url":"https://api.github.com/users/ochrons/received_events","type":"User","site_admin":false},"repo":{"id":30860546,"name":"scala-js-website","full_name":"ochrons/scala-js-website","owner":{"login":"ochrons","id":629483,"avatar_url":"https://avatars.githubusercontent.com/u/629483?v=3","gravatar_id":"","url":"https://api.github.com/users/ochrons","html_url":"https://github.com/ochrons","followers_url":"https://api.github.com/users/ochrons/followers","following_url":"https://api.github.com/users/ochrons/following{/other_user}","gists_url":"https://api.github.com/users/ochrons/gists{/gist_id}","starred_url":"https://api.github.com/users/ochrons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ochrons/subscriptions","organizations_url":"https://api.github.com/users/ochrons/orgs","repos_url":"https://api.github.com/users/ochrons/repos","events_url":"https://api.github.com/users/ochrons/events{/privacy}","received_events_url":"https://api.github.com/users/ochrons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ochrons/scala-js-website","description":"Source for http://www.scala-js.org/","fork":true,"url":"https://api.github.com/repos/ochrons/scala-js-website","forks_url":"https://api.github.com/repos/ochrons/scala-js-website/forks","keys_url":"https://api.github.com/repos/ochrons/scala-js-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ochrons/scala-js-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ochrons/scala-js-website/teams","hooks_url":"https://api.github.com/repos/ochrons/scala-js-website/hooks","issue_events_url":"https://api.github.com/repos/ochrons/scala-js-website/issues/events{/number}","events_url":"https://api.github.com/repos/ochrons/scala-js-website/events","assignees_url":"https://api.github.com/repos/ochrons/scala-js-website/assignees{/user}","branches_url":"https://api.github.com/repos/ochrons/scala-js-website/branches{/branch}","tags_url":"https://api.github.com/repos/ochrons/scala-js-website/tags","blobs_url":"https://api.github.com/repos/ochrons/scala-js-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ochrons/scala-js-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ochrons/scala-js-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/ochrons/scala-js-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ochrons/scala-js-website/statuses/{sha}","languages_url":"https://api.github.com/repos/ochrons/scala-js-website/languages","stargazers_url":"https://api.github.com/repos/ochrons/scala-js-website/stargazers","contributors_url":"https://api.github.com/repos/ochrons/scala-js-website/contributors","subscribers_url":"https://api.github.com/repos/ochrons/scala-js-website/subscribers","subscription_url":"https://api.github.com/repos/ochrons/scala-js-website/subscription","commits_url":"https://api.github.com/repos/ochrons/scala-js-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/ochrons/scala-js-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/ochrons/scala-js-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/ochrons/scala-js-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/ochrons/scala-js-website/contents/{+path}","compare_url":"https://api.github.com/repos/ochrons/scala-js-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ochrons/scala-js-website/merges","archive_url":"https://api.github.com/repos/ochrons/scala-js-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ochrons/scala-js-website/downloads","issues_url":"https://api.github.com/repos/ochrons/scala-js-website/issues{/number}","pulls_url":"https://api.github.com/repos/ochrons/scala-js-website/pulls{/number}","milestones_url":"https://api.github.com/repos/ochrons/scala-js-website/milestones{/number}","notifications_url":"https://api.github.com/repos/ochrons/scala-js-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ochrons/scala-js-website/labels{/name}","releases_url":"https://api.github.com/repos/ochrons/scala-js-website/releases{/id}","deployments_url":"https://api.github.com/repos/ochrons/scala-js-website/deployments","created_at":"2015-02-16T08:58:03Z","updated_at":"2015-11-24T09:29:05Z","pushed_at":"2016-01-28T15:30:43Z","git_url":"git://github.com/ochrons/scala-js-website.git","ssh_url":"git@github.com:ochrons/scala-js-website.git","clone_url":"https://github.com/ochrons/scala-js-website.git","svn_url":"https://github.com/ochrons/scala-js-website","homepage":null,"size":3280,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scala-js:master","ref":"master","sha":"b366b75cab4b0f5c5ea12b84d0d2ace19a6a9195","user":{"login":"scala-js","id":6039724,"avatar_url":"https://avatars.githubusercontent.com/u/6039724?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-js","html_url":"https://github.com/scala-js","followers_url":"https://api.github.com/users/scala-js/followers","following_url":"https://api.github.com/users/scala-js/following{/other_user}","gists_url":"https://api.github.com/users/scala-js/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-js/subscriptions","organizations_url":"https://api.github.com/users/scala-js/orgs","repos_url":"https://api.github.com/users/scala-js/repos","events_url":"https://api.github.com/users/scala-js/events{/privacy}","received_events_url":"https://api.github.com/users/scala-js/received_events","type":"Organization","site_admin":false},"repo":{"id":14980509,"name":"scala-js-website","full_name":"scala-js/scala-js-website","owner":{"login":"scala-js","id":6039724,"avatar_url":"https://avatars.githubusercontent.com/u/6039724?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-js","html_url":"https://github.com/scala-js","followers_url":"https://api.github.com/users/scala-js/followers","following_url":"https://api.github.com/users/scala-js/following{/other_user}","gists_url":"https://api.github.com/users/scala-js/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-js/subscriptions","organizations_url":"https://api.github.com/users/scala-js/orgs","repos_url":"https://api.github.com/users/scala-js/repos","events_url":"https://api.github.com/users/scala-js/events{/privacy}","received_events_url":"https://api.github.com/users/scala-js/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-js/scala-js-website","description":"Source for http://www.scala-js.org/","fork":false,"url":"https://api.github.com/repos/scala-js/scala-js-website","forks_url":"https://api.github.com/repos/scala-js/scala-js-website/forks","keys_url":"https://api.github.com/repos/scala-js/scala-js-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-js/scala-js-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-js/scala-js-website/teams","hooks_url":"https://api.github.com/repos/scala-js/scala-js-website/hooks","issue_events_url":"https://api.github.com/repos/scala-js/scala-js-website/issues/events{/number}","events_url":"https://api.github.com/repos/scala-js/scala-js-website/events","assignees_url":"https://api.github.com/repos/scala-js/scala-js-website/assignees{/user}","branches_url":"https://api.github.com/repos/scala-js/scala-js-website/branches{/branch}","tags_url":"https://api.github.com/repos/scala-js/scala-js-website/tags","blobs_url":"https://api.github.com/repos/scala-js/scala-js-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-js/scala-js-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-js/scala-js-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-js/scala-js-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-js/scala-js-website/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-js/scala-js-website/languages","stargazers_url":"https://api.github.com/repos/scala-js/scala-js-website/stargazers","contributors_url":"https://api.github.com/repos/scala-js/scala-js-website/contributors","subscribers_url":"https://api.github.com/repos/scala-js/scala-js-website/subscribers","subscription_url":"https://api.github.com/repos/scala-js/scala-js-website/subscription","commits_url":"https://api.github.com/repos/scala-js/scala-js-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-js/scala-js-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-js/scala-js-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-js/scala-js-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-js/scala-js-website/contents/{+path}","compare_url":"https://api.github.com/repos/scala-js/scala-js-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-js/scala-js-website/merges","archive_url":"https://api.github.com/repos/scala-js/scala-js-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-js/scala-js-website/downloads","issues_url":"https://api.github.com/repos/scala-js/scala-js-website/issues{/number}","pulls_url":"https://api.github.com/repos/scala-js/scala-js-website/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-js/scala-js-website/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-js/scala-js-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-js/scala-js-website/labels{/name}","releases_url":"https://api.github.com/repos/scala-js/scala-js-website/releases{/id}","deployments_url":"https://api.github.com/repos/scala-js/scala-js-website/deployments","created_at":"2013-12-06T10:55:02Z","updated_at":"2016-01-23T00:58:55Z","pushed_at":"2016-01-28T15:31:17Z","git_url":"git://github.com/scala-js/scala-js-website.git","ssh_url":"git@github.com:scala-js/scala-js-website.git","clone_url":"https://github.com/scala-js/scala-js-website.git","svn_url":"https://github.com/scala-js/scala-js-website","homepage":null,"size":3404,"stargazers_count":250,"watchers_count":250,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":21,"forks":70,"open_issues":21,"watchers":250,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala-js/scala-js-website/pulls/233"},"html":{"href":"https://github.com/scala-js/scala-js-website/pull/233"},"issue":{"href":"https://api.github.com/repos/scala-js/scala-js-website/issues/233"},"comments":{"href":"https://api.github.com/repos/scala-js/scala-js-website/issues/233/comments"},"review_comments":{"href":"https://api.github.com/repos/scala-js/scala-js-website/pulls/233/comments"},"review_comment":{"href":"https://api.github.com/repos/scala-js/scala-js-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala-js/scala-js-website/pulls/233/commits"},"statuses":{"href":"https://api.github.com/repos/scala-js/scala-js-website/statuses/3e3336dff2be9f9bf5e3352b2ae9807777c141f6"}}}}