{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls/7","id":40137249,"html_url":"https://github.com/leighmcculloch/acceptedlanguages.js/pull/7","diff_url":"https://github.com/leighmcculloch/acceptedlanguages.js/pull/7.diff","patch_url":"https://github.com/leighmcculloch/acceptedlanguages.js/pull/7.patch","issue_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues/7","number":7,"state":"closed","locked":false,"title":"Get the alternate link element for the language.","user":{"login":"leighmcculloch","id":351529,"avatar_url":"https://avatars.githubusercontent.com/u/351529?v=3","gravatar_id":"","url":"https://api.github.com/users/leighmcculloch","html_url":"https://github.com/leighmcculloch","followers_url":"https://api.github.com/users/leighmcculloch/followers","following_url":"https://api.github.com/users/leighmcculloch/following{/other_user}","gists_url":"https://api.github.com/users/leighmcculloch/gists{/gist_id}","starred_url":"https://api.github.com/users/leighmcculloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leighmcculloch/subscriptions","organizations_url":"https://api.github.com/users/leighmcculloch/orgs","repos_url":"https://api.github.com/users/leighmcculloch/repos","events_url":"https://api.github.com/users/leighmcculloch/events{/privacy}","received_events_url":"https://api.github.com/users/leighmcculloch/received_events","type":"User","site_admin":false},"body":"### What\r\nAdded a function to get the alternate link for the language.\r\n\r\n### Why\r\nThe code to do this is being done in a couple of places, and a developer may want to get the link element for the alternate language, so we may as well expose it.","created_at":"2015-07-16T14:47:53Z","updated_at":"2015-07-16T14:48:23Z","closed_at":"2015-07-16T14:48:23Z","merged_at":"2015-07-16T14:48:23Z","merge_commit_sha":"fb34a956a8d9685abf6134f335921b61817acf67","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls/7/commits","review_comments_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls/7/comments","review_comment_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues/7/comments","statuses_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/statuses/4f0224d0fca60e14d9577e210335ed6489d116fc","head":{"label":"leighmcculloch:lang-link","ref":"lang-link","sha":"4f0224d0fca60e14d9577e210335ed6489d116fc","user":{"login":"leighmcculloch","id":351529,"avatar_url":"https://avatars.githubusercontent.com/u/351529?v=3","gravatar_id":"","url":"https://api.github.com/users/leighmcculloch","html_url":"https://github.com/leighmcculloch","followers_url":"https://api.github.com/users/leighmcculloch/followers","following_url":"https://api.github.com/users/leighmcculloch/following{/other_user}","gists_url":"https://api.github.com/users/leighmcculloch/gists{/gist_id}","starred_url":"https://api.github.com/users/leighmcculloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leighmcculloch/subscriptions","organizations_url":"https://api.github.com/users/leighmcculloch/orgs","repos_url":"https://api.github.com/users/leighmcculloch/repos","events_url":"https://api.github.com/users/leighmcculloch/events{/privacy}","received_events_url":"https://api.github.com/users/leighmcculloch/received_events","type":"User","site_admin":false},"repo":{"id":38030659,"name":"acceptedlanguages.js","full_name":"leighmcculloch/acceptedlanguages.js","owner":{"login":"leighmcculloch","id":351529,"avatar_url":"https://avatars.githubusercontent.com/u/351529?v=3","gravatar_id":"","url":"https://api.github.com/users/leighmcculloch","html_url":"https://github.com/leighmcculloch","followers_url":"https://api.github.com/users/leighmcculloch/followers","following_url":"https://api.github.com/users/leighmcculloch/following{/other_user}","gists_url":"https://api.github.com/users/leighmcculloch/gists{/gist_id}","starred_url":"https://api.github.com/users/leighmcculloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leighmcculloch/subscriptions","organizations_url":"https://api.github.com/users/leighmcculloch/orgs","repos_url":"https://api.github.com/users/leighmcculloch/repos","events_url":"https://api.github.com/users/leighmcculloch/events{/privacy}","received_events_url":"https://api.github.com/users/leighmcculloch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leighmcculloch/acceptedlanguages.js","description":"A JavaScript library telling you the accepted and relevant languages of the visitor.","fork":false,"url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js","forks_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/forks","keys_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/teams","hooks_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/hooks","issue_events_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues/events{/number}","events_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/events","assignees_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/assignees{/user}","branches_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/branches{/branch}","tags_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/tags","blobs_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/statuses/{sha}","languages_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/languages","stargazers_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/stargazers","contributors_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/contributors","subscribers_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/subscribers","subscription_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/subscription","commits_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/contents/{+path}","compare_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/merges","archive_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/downloads","issues_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues{/number}","pulls_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls{/number}","milestones_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/milestones{/number}","notifications_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/labels{/name}","releases_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/releases{/id}","created_at":"2015-06-25T05:52:59Z","updated_at":"2015-07-08T15:44:59Z","pushed_at":"2015-07-16T14:48:23Z","git_url":"git://github.com/leighmcculloch/acceptedlanguages.js.git","ssh_url":"git@github.com:leighmcculloch/acceptedlanguages.js.git","clone_url":"https://github.com/leighmcculloch/acceptedlanguages.js.git","svn_url":"https://github.com/leighmcculloch/acceptedlanguages.js","homepage":"","size":312,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":"leighmcculloch:master","ref":"master","sha":"d7d720cd411c0cb22385965de6cbf5d6b4f0351b","user":{"login":"leighmcculloch","id":351529,"avatar_url":"https://avatars.githubusercontent.com/u/351529?v=3","gravatar_id":"","url":"https://api.github.com/users/leighmcculloch","html_url":"https://github.com/leighmcculloch","followers_url":"https://api.github.com/users/leighmcculloch/followers","following_url":"https://api.github.com/users/leighmcculloch/following{/other_user}","gists_url":"https://api.github.com/users/leighmcculloch/gists{/gist_id}","starred_url":"https://api.github.com/users/leighmcculloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leighmcculloch/subscriptions","organizations_url":"https://api.github.com/users/leighmcculloch/orgs","repos_url":"https://api.github.com/users/leighmcculloch/repos","events_url":"https://api.github.com/users/leighmcculloch/events{/privacy}","received_events_url":"https://api.github.com/users/leighmcculloch/received_events","type":"User","site_admin":false},"repo":{"id":38030659,"name":"acceptedlanguages.js","full_name":"leighmcculloch/acceptedlanguages.js","owner":{"login":"leighmcculloch","id":351529,"avatar_url":"https://avatars.githubusercontent.com/u/351529?v=3","gravatar_id":"","url":"https://api.github.com/users/leighmcculloch","html_url":"https://github.com/leighmcculloch","followers_url":"https://api.github.com/users/leighmcculloch/followers","following_url":"https://api.github.com/users/leighmcculloch/following{/other_user}","gists_url":"https://api.github.com/users/leighmcculloch/gists{/gist_id}","starred_url":"https://api.github.com/users/leighmcculloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leighmcculloch/subscriptions","organizations_url":"https://api.github.com/users/leighmcculloch/orgs","repos_url":"https://api.github.com/users/leighmcculloch/repos","events_url":"https://api.github.com/users/leighmcculloch/events{/privacy}","received_events_url":"https://api.github.com/users/leighmcculloch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leighmcculloch/acceptedlanguages.js","description":"A JavaScript library telling you the accepted and relevant languages of the visitor.","fork":false,"url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js","forks_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/forks","keys_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/teams","hooks_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/hooks","issue_events_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues/events{/number}","events_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/events","assignees_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/assignees{/user}","branches_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/branches{/branch}","tags_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/tags","blobs_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/statuses/{sha}","languages_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/languages","stargazers_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/stargazers","contributors_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/contributors","subscribers_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/subscribers","subscription_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/subscription","commits_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/contents/{+path}","compare_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/merges","archive_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/downloads","issues_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues{/number}","pulls_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls{/number}","milestones_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/milestones{/number}","notifications_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/labels{/name}","releases_url":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/releases{/id}","created_at":"2015-06-25T05:52:59Z","updated_at":"2015-07-08T15:44:59Z","pushed_at":"2015-07-16T14:48:23Z","git_url":"git://github.com/leighmcculloch/acceptedlanguages.js.git","ssh_url":"git@github.com:leighmcculloch/acceptedlanguages.js.git","clone_url":"https://github.com/leighmcculloch/acceptedlanguages.js.git","svn_url":"https://github.com/leighmcculloch/acceptedlanguages.js","homepage":"","size":312,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls/7"},"html":{"href":"https://github.com/leighmcculloch/acceptedlanguages.js/pull/7"},"issue":{"href":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues/7"},"comments":{"href":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/leighmcculloch/acceptedlanguages.js/statuses/4f0224d0fca60e14d9577e210335ed6489d116fc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"leighmcculloch","id":351529,"avatar_url":"https://avatars.githubusercontent.com/u/351529?v=3","gravatar_id":"","url":"https://api.github.com/users/leighmcculloch","html_url":"https://github.com/leighmcculloch","followers_url":"https://api.github.com/users/leighmcculloch/followers","following_url":"https://api.github.com/users/leighmcculloch/following{/other_user}","gists_url":"https://api.github.com/users/leighmcculloch/gists{/gist_id}","starred_url":"https://api.github.com/users/leighmcculloch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leighmcculloch/subscriptions","organizations_url":"https://api.github.com/users/leighmcculloch/orgs","repos_url":"https://api.github.com/users/leighmcculloch/repos","events_url":"https://api.github.com/users/leighmcculloch/events{/privacy}","received_events_url":"https://api.github.com/users/leighmcculloch/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":7,"changed_files":3}}