{"action":"opened","number":77,"pull_request":{"url":"https://api.github.com/repos/18F/frontend/pulls/77","id":56045300,"html_url":"https://github.com/18F/frontend/pull/77","diff_url":"https://github.com/18F/frontend/pull/77.diff","patch_url":"https://github.com/18F/frontend/pull/77.patch","issue_url":"https://api.github.com/repos/18F/frontend/issues/77","number":77,"state":"open","locked":false,"title":"Organized code samples to put Bad examples first","user":{"login":"awayken","id":156215,"avatar_url":"https://avatars.githubusercontent.com/u/156215?v=3","gravatar_id":"","url":"https://api.github.com/users/awayken","html_url":"https://github.com/awayken","followers_url":"https://api.github.com/users/awayken/followers","following_url":"https://api.github.com/users/awayken/following{/other_user}","gists_url":"https://api.github.com/users/awayken/gists{/gist_id}","starred_url":"https://api.github.com/users/awayken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awayken/subscriptions","organizations_url":"https://api.github.com/users/awayken/orgs","repos_url":"https://api.github.com/users/awayken/repos","events_url":"https://api.github.com/users/awayken/events{/privacy}","received_events_url":"https://api.github.com/users/awayken/received_events","type":"User","site_admin":false},"body":"The code samples had some slight inconsistency in which examples came first (bad or good). I made all the bad examples come first. In this way, the examples show what not to do and then correct the behavior with one or more examples of what should be done.","created_at":"2016-01-14T14:59:34Z","updated_at":"2016-01-14T14:59:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/frontend/pulls/77/commits","review_comments_url":"https://api.github.com/repos/18F/frontend/pulls/77/comments","review_comment_url":"https://api.github.com/repos/18F/frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/frontend/issues/77/comments","statuses_url":"https://api.github.com/repos/18F/frontend/statuses/550e9e20f532dba81591b078cedb0f884bb5a499","head":{"label":"awayken:patch-1","ref":"patch-1","sha":"550e9e20f532dba81591b078cedb0f884bb5a499","user":{"login":"awayken","id":156215,"avatar_url":"https://avatars.githubusercontent.com/u/156215?v=3","gravatar_id":"","url":"https://api.github.com/users/awayken","html_url":"https://github.com/awayken","followers_url":"https://api.github.com/users/awayken/followers","following_url":"https://api.github.com/users/awayken/following{/other_user}","gists_url":"https://api.github.com/users/awayken/gists{/gist_id}","starred_url":"https://api.github.com/users/awayken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awayken/subscriptions","organizations_url":"https://api.github.com/users/awayken/orgs","repos_url":"https://api.github.com/users/awayken/repos","events_url":"https://api.github.com/users/awayken/events{/privacy}","received_events_url":"https://api.github.com/users/awayken/received_events","type":"User","site_admin":false},"repo":{"id":49653711,"name":"frontend","full_name":"awayken/frontend","owner":{"login":"awayken","id":156215,"avatar_url":"https://avatars.githubusercontent.com/u/156215?v=3","gravatar_id":"","url":"https://api.github.com/users/awayken","html_url":"https://github.com/awayken","followers_url":"https://api.github.com/users/awayken/followers","following_url":"https://api.github.com/users/awayken/following{/other_user}","gists_url":"https://api.github.com/users/awayken/gists{/gist_id}","starred_url":"https://api.github.com/users/awayken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awayken/subscriptions","organizations_url":"https://api.github.com/users/awayken/orgs","repos_url":"https://api.github.com/users/awayken/repos","events_url":"https://api.github.com/users/awayken/events{/privacy}","received_events_url":"https://api.github.com/users/awayken/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/awayken/frontend","description":"18F's Front End Guild","fork":true,"url":"https://api.github.com/repos/awayken/frontend","forks_url":"https://api.github.com/repos/awayken/frontend/forks","keys_url":"https://api.github.com/repos/awayken/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awayken/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awayken/frontend/teams","hooks_url":"https://api.github.com/repos/awayken/frontend/hooks","issue_events_url":"https://api.github.com/repos/awayken/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/awayken/frontend/events","assignees_url":"https://api.github.com/repos/awayken/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/awayken/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/awayken/frontend/tags","blobs_url":"https://api.github.com/repos/awayken/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awayken/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awayken/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/awayken/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awayken/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/awayken/frontend/languages","stargazers_url":"https://api.github.com/repos/awayken/frontend/stargazers","contributors_url":"https://api.github.com/repos/awayken/frontend/contributors","subscribers_url":"https://api.github.com/repos/awayken/frontend/subscribers","subscription_url":"https://api.github.com/repos/awayken/frontend/subscription","commits_url":"https://api.github.com/repos/awayken/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/awayken/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/awayken/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/awayken/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/awayken/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/awayken/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awayken/frontend/merges","archive_url":"https://api.github.com/repos/awayken/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awayken/frontend/downloads","issues_url":"https://api.github.com/repos/awayken/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/awayken/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/awayken/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/awayken/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awayken/frontend/labels{/name}","releases_url":"https://api.github.com/repos/awayken/frontend/releases{/id}","created_at":"2016-01-14T14:54:36Z","updated_at":"2016-01-14T14:54:37Z","pushed_at":"2016-01-14T14:59:10Z","git_url":"git://github.com/awayken/frontend.git","ssh_url":"git@github.com:awayken/frontend.git","clone_url":"https://github.com/awayken/frontend.git","svn_url":"https://github.com/awayken/frontend","homepage":"https://pages.18f.gov/frontend/","size":633,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"18f-pages-staging"}},"base":{"label":"18F:18f-pages-staging","ref":"18f-pages-staging","sha":"5b12c69057bfaa80f23442703b87a0a07de26762","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":24612990,"name":"frontend","full_name":"18F/frontend","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/frontend","description":"18F's Front End Guild","fork":false,"url":"https://api.github.com/repos/18F/frontend","forks_url":"https://api.github.com/repos/18F/frontend/forks","keys_url":"https://api.github.com/repos/18F/frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/frontend/teams","hooks_url":"https://api.github.com/repos/18F/frontend/hooks","issue_events_url":"https://api.github.com/repos/18F/frontend/issues/events{/number}","events_url":"https://api.github.com/repos/18F/frontend/events","assignees_url":"https://api.github.com/repos/18F/frontend/assignees{/user}","branches_url":"https://api.github.com/repos/18F/frontend/branches{/branch}","tags_url":"https://api.github.com/repos/18F/frontend/tags","blobs_url":"https://api.github.com/repos/18F/frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/frontend/languages","stargazers_url":"https://api.github.com/repos/18F/frontend/stargazers","contributors_url":"https://api.github.com/repos/18F/frontend/contributors","subscribers_url":"https://api.github.com/repos/18F/frontend/subscribers","subscription_url":"https://api.github.com/repos/18F/frontend/subscription","commits_url":"https://api.github.com/repos/18F/frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/frontend/contents/{+path}","compare_url":"https://api.github.com/repos/18F/frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/frontend/merges","archive_url":"https://api.github.com/repos/18F/frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/frontend/downloads","issues_url":"https://api.github.com/repos/18F/frontend/issues{/number}","pulls_url":"https://api.github.com/repos/18F/frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/frontend/labels{/name}","releases_url":"https://api.github.com/repos/18F/frontend/releases{/id}","created_at":"2014-09-29T21:04:18Z","updated_at":"2016-01-13T23:53:51Z","pushed_at":"2016-01-13T17:57:29Z","git_url":"git://github.com/18F/frontend.git","ssh_url":"git@github.com:18F/frontend.git","clone_url":"https://github.com/18F/frontend.git","svn_url":"https://github.com/18F/frontend","homepage":"https://pages.18f.gov/frontend/","size":640,"stargazers_count":33,"watchers_count":33,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":29,"forks":17,"open_issues":29,"watchers":33,"default_branch":"18f-pages-staging"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/frontend/pulls/77"},"html":{"href":"https://github.com/18F/frontend/pull/77"},"issue":{"href":"https://api.github.com/repos/18F/frontend/issues/77"},"comments":{"href":"https://api.github.com/repos/18F/frontend/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/frontend/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/frontend/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/18F/frontend/statuses/550e9e20f532dba81591b078cedb0f884bb5a499"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":13,"changed_files":1}}