{"action":"created","comment":{"url":"https://api.github.com/repos/18F/fec-style/pulls/comments/40275735","id":40275735,"diff_hunk":"@@ -0,0 +1,31 @@\n+'use strict';\n+\n+/* global require, module, document */\n+\n+var $ = require('jquery');\n+\n+/**\n+  * Skip nav link\n+  * @constructor\n+  * @param {string} anchor - CSS selector for the anchor element that will function as the skip nav\n+  * @param {string} targetBody - CSS selector for the main content area to look for a focusable element in\n+  */\n+\n+function Skipnav(anchor, targetBody) {\n+  this.anchor = anchor;\n+  this.$targetBody = $(targetBody);\n+  this.$target = this.findTarget();\n+  $(document.body).on('click, keyup', this.anchor, this.focusOnTarget.bind(this));","path":"js/skip-nav.js","position":18,"original_position":18,"commit_id":"fe1403f3a4f7c3902ea8fe59d44542aa402762b3","original_commit_id":"fe1403f3a4f7c3902ea8fe59d44542aa402762b3","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2015-09-24T00:44:53Z","updated_at":"2015-09-24T00:44:53Z","html_url":"https://github.com/18F/fec-style/pull/113#discussion_r40275735","pull_request_url":"https://api.github.com/repos/18F/fec-style/pulls/113","_links":{"self":{"href":"https://api.github.com/repos/18F/fec-style/pulls/comments/40275735"},"html":{"href":"https://github.com/18F/fec-style/pull/113#discussion_r40275735"},"pull_request":{"href":"https://api.github.com/repos/18F/fec-style/pulls/113"}}},"pull_request":{"url":"https://api.github.com/repos/18F/fec-style/pulls/113","id":45836667,"html_url":"https://github.com/18F/fec-style/pull/113","diff_url":"https://github.com/18F/fec-style/pull/113.diff","patch_url":"https://github.com/18F/fec-style/pull/113.patch","issue_url":"https://api.github.com/repos/18F/fec-style/issues/113","number":113,"state":"open","locked":false,"title":"Skip nav","user":{"login":"noahmanger","id":1696495,"avatar_url":"https://avatars.githubusercontent.com/u/1696495?v=3","gravatar_id":"","url":"https://api.github.com/users/noahmanger","html_url":"https://github.com/noahmanger","followers_url":"https://api.github.com/users/noahmanger/followers","following_url":"https://api.github.com/users/noahmanger/following{/other_user}","gists_url":"https://api.github.com/users/noahmanger/gists{/gist_id}","starred_url":"https://api.github.com/users/noahmanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahmanger/subscriptions","organizations_url":"https://api.github.com/users/noahmanger/orgs","repos_url":"https://api.github.com/users/noahmanger/repos","events_url":"https://api.github.com/users/noahmanger/events{/privacy}","received_events_url":"https://api.github.com/users/noahmanger/received_events","type":"User","site_admin":false},"body":"Implements a skip-nav link that looks for the first focus-able element in the `<main>` element on a page. ","created_at":"2015-09-23T21:54:12Z","updated_at":"2015-09-24T00:44:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ceab27c3b57200931dd71c9187a09aa6a26bc9bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/fec-style/pulls/113/commits","review_comments_url":"https://api.github.com/repos/18F/fec-style/pulls/113/comments","review_comment_url":"https://api.github.com/repos/18F/fec-style/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/fec-style/issues/113/comments","statuses_url":"https://api.github.com/repos/18F/fec-style/statuses/fe1403f3a4f7c3902ea8fe59d44542aa402762b3","head":{"label":"18F:skip-nav","ref":"skip-nav","sha":"fe1403f3a4f7c3902ea8fe59d44542aa402762b3","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":40519462,"name":"fec-style","full_name":"18F/fec-style","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/fec-style","description":"Shared styles for 18F's FEC work","fork":false,"url":"https://api.github.com/repos/18F/fec-style","forks_url":"https://api.github.com/repos/18F/fec-style/forks","keys_url":"https://api.github.com/repos/18F/fec-style/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/fec-style/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/fec-style/teams","hooks_url":"https://api.github.com/repos/18F/fec-style/hooks","issue_events_url":"https://api.github.com/repos/18F/fec-style/issues/events{/number}","events_url":"https://api.github.com/repos/18F/fec-style/events","assignees_url":"https://api.github.com/repos/18F/fec-style/assignees{/user}","branches_url":"https://api.github.com/repos/18F/fec-style/branches{/branch}","tags_url":"https://api.github.com/repos/18F/fec-style/tags","blobs_url":"https://api.github.com/repos/18F/fec-style/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/fec-style/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/fec-style/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/fec-style/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/fec-style/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/fec-style/languages","stargazers_url":"https://api.github.com/repos/18F/fec-style/stargazers","contributors_url":"https://api.github.com/repos/18F/fec-style/contributors","subscribers_url":"https://api.github.com/repos/18F/fec-style/subscribers","subscription_url":"https://api.github.com/repos/18F/fec-style/subscription","commits_url":"https://api.github.com/repos/18F/fec-style/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/fec-style/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/fec-style/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/fec-style/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/fec-style/contents/{+path}","compare_url":"https://api.github.com/repos/18F/fec-style/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/fec-style/merges","archive_url":"https://api.github.com/repos/18F/fec-style/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/fec-style/downloads","issues_url":"https://api.github.com/repos/18F/fec-style/issues{/number}","pulls_url":"https://api.github.com/repos/18F/fec-style/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/fec-style/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/fec-style/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/fec-style/labels{/name}","releases_url":"https://api.github.com/repos/18F/fec-style/releases{/id}","created_at":"2015-08-11T03:32:31Z","updated_at":"2015-08-19T20:26:44Z","pushed_at":"2015-09-24T00:44:42Z","git_url":"git://github.com/18F/fec-style.git","ssh_url":"git@github.com:18F/fec-style.git","clone_url":"https://github.com/18F/fec-style.git","svn_url":"https://github.com/18F/fec-style","homepage":"","size":4232,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"adc2991c34d29117e1faf72b9aeb02bf65e88352","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":40519462,"name":"fec-style","full_name":"18F/fec-style","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/fec-style","description":"Shared styles for 18F's FEC work","fork":false,"url":"https://api.github.com/repos/18F/fec-style","forks_url":"https://api.github.com/repos/18F/fec-style/forks","keys_url":"https://api.github.com/repos/18F/fec-style/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/fec-style/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/fec-style/teams","hooks_url":"https://api.github.com/repos/18F/fec-style/hooks","issue_events_url":"https://api.github.com/repos/18F/fec-style/issues/events{/number}","events_url":"https://api.github.com/repos/18F/fec-style/events","assignees_url":"https://api.github.com/repos/18F/fec-style/assignees{/user}","branches_url":"https://api.github.com/repos/18F/fec-style/branches{/branch}","tags_url":"https://api.github.com/repos/18F/fec-style/tags","blobs_url":"https://api.github.com/repos/18F/fec-style/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/fec-style/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/fec-style/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/fec-style/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/fec-style/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/fec-style/languages","stargazers_url":"https://api.github.com/repos/18F/fec-style/stargazers","contributors_url":"https://api.github.com/repos/18F/fec-style/contributors","subscribers_url":"https://api.github.com/repos/18F/fec-style/subscribers","subscription_url":"https://api.github.com/repos/18F/fec-style/subscription","commits_url":"https://api.github.com/repos/18F/fec-style/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/fec-style/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/fec-style/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/fec-style/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/fec-style/contents/{+path}","compare_url":"https://api.github.com/repos/18F/fec-style/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/fec-style/merges","archive_url":"https://api.github.com/repos/18F/fec-style/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/fec-style/downloads","issues_url":"https://api.github.com/repos/18F/fec-style/issues{/number}","pulls_url":"https://api.github.com/repos/18F/fec-style/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/fec-style/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/fec-style/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/fec-style/labels{/name}","releases_url":"https://api.github.com/repos/18F/fec-style/releases{/id}","created_at":"2015-08-11T03:32:31Z","updated_at":"2015-08-19T20:26:44Z","pushed_at":"2015-09-24T00:44:42Z","git_url":"git://github.com/18F/fec-style.git","ssh_url":"git@github.com:18F/fec-style.git","clone_url":"https://github.com/18F/fec-style.git","svn_url":"https://github.com/18F/fec-style","homepage":"","size":4232,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/fec-style/pulls/113"},"html":{"href":"https://github.com/18F/fec-style/pull/113"},"issue":{"href":"https://api.github.com/repos/18F/fec-style/issues/113"},"comments":{"href":"https://api.github.com/repos/18F/fec-style/issues/113/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/fec-style/pulls/113/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/fec-style/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/fec-style/pulls/113/commits"},"statuses":{"href":"https://api.github.com/repos/18F/fec-style/statuses/fe1403f3a4f7c3902ea8fe59d44542aa402762b3"}}}}