{"action":"created","comment":{"url":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/comments/42204575","id":42204575,"diff_hunk":"@@ -5,3 +5,21 @@ $(document).ready(function() {\n     })\n   }, 4600);\n })\n+\n+$('#cori-question-submit').one('click', function(e) {\n+      e.preventDefault();\n+      if (document.getElementById('yes_or_no_no').checked) {\n+        debugger;\n+        document.location.href = '/pages/nocori';\n+      }\n+      if (document.getElementById('yes_or_no_yes').checked) {\n+        $.get(\"/cori_questions.json\", { \"yes_or_no\": \"yes\"}).done(function(data) {\n+            $('.question-content').attr({","path":"app/assets/javascripts/home.js","position":13,"original_position":13,"commit_id":"44518e513f9cd71d1cb28c06322791fd6b4792be","original_commit_id":"44518e513f9cd71d1cb28c06322791fd6b4792be","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":"Mixed double and single quotes.","created_at":"2015-10-16T02:53:02Z","updated_at":"2015-10-16T02:53:02Z","html_url":"https://github.com/brendanboyle87/seal-cori/pull/14#discussion_r42204575","pull_request_url":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/comments/42204575"},"html":{"href":"https://github.com/brendanboyle87/seal-cori/pull/14#discussion_r42204575"},"pull_request":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/14","id":47865951,"html_url":"https://github.com/brendanboyle87/seal-cori/pull/14","diff_url":"https://github.com/brendanboyle87/seal-cori/pull/14.diff","patch_url":"https://github.com/brendanboyle87/seal-cori/pull/14.patch","issue_url":"https://api.github.com/repos/brendanboyle87/seal-cori/issues/14","number":14,"state":"open","locked":false,"title":"First two questions ajax","user":{"login":"brendanboyle87","id":1395328,"avatar_url":"https://avatars.githubusercontent.com/u/1395328?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanboyle87","html_url":"https://github.com/brendanboyle87","followers_url":"https://api.github.com/users/brendanboyle87/followers","following_url":"https://api.github.com/users/brendanboyle87/following{/other_user}","gists_url":"https://api.github.com/users/brendanboyle87/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanboyle87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanboyle87/subscriptions","organizations_url":"https://api.github.com/users/brendanboyle87/orgs","repos_url":"https://api.github.com/users/brendanboyle87/repos","events_url":"https://api.github.com/users/brendanboyle87/events{/privacy}","received_events_url":"https://api.github.com/users/brendanboyle87/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-16T02:52:58Z","updated_at":"2015-10-16T02:53:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b53f98fc148f81ecd7861e50290c5d02d4606dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/14/commits","review_comments_url":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/14/comments","review_comment_url":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brendanboyle87/seal-cori/issues/14/comments","statuses_url":"https://api.github.com/repos/brendanboyle87/seal-cori/statuses/44518e513f9cd71d1cb28c06322791fd6b4792be","head":{"label":"brendanboyle87:first-two-questions-ajax","ref":"first-two-questions-ajax","sha":"44518e513f9cd71d1cb28c06322791fd6b4792be","user":{"login":"brendanboyle87","id":1395328,"avatar_url":"https://avatars.githubusercontent.com/u/1395328?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanboyle87","html_url":"https://github.com/brendanboyle87","followers_url":"https://api.github.com/users/brendanboyle87/followers","following_url":"https://api.github.com/users/brendanboyle87/following{/other_user}","gists_url":"https://api.github.com/users/brendanboyle87/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanboyle87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanboyle87/subscriptions","organizations_url":"https://api.github.com/users/brendanboyle87/orgs","repos_url":"https://api.github.com/users/brendanboyle87/repos","events_url":"https://api.github.com/users/brendanboyle87/events{/privacy}","received_events_url":"https://api.github.com/users/brendanboyle87/received_events","type":"User","site_admin":false},"repo":{"id":43684328,"name":"seal-cori","full_name":"brendanboyle87/seal-cori","owner":{"login":"brendanboyle87","id":1395328,"avatar_url":"https://avatars.githubusercontent.com/u/1395328?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanboyle87","html_url":"https://github.com/brendanboyle87","followers_url":"https://api.github.com/users/brendanboyle87/followers","following_url":"https://api.github.com/users/brendanboyle87/following{/other_user}","gists_url":"https://api.github.com/users/brendanboyle87/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanboyle87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanboyle87/subscriptions","organizations_url":"https://api.github.com/users/brendanboyle87/orgs","repos_url":"https://api.github.com/users/brendanboyle87/repos","events_url":"https://api.github.com/users/brendanboyle87/events{/privacy}","received_events_url":"https://api.github.com/users/brendanboyle87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brendanboyle87/seal-cori","description":"An application to determine eligibility for criminal records sealing in Massachusetts. ","fork":false,"url":"https://api.github.com/repos/brendanboyle87/seal-cori","forks_url":"https://api.github.com/repos/brendanboyle87/seal-cori/forks","keys_url":"https://api.github.com/repos/brendanboyle87/seal-cori/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brendanboyle87/seal-cori/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brendanboyle87/seal-cori/teams","hooks_url":"https://api.github.com/repos/brendanboyle87/seal-cori/hooks","issue_events_url":"https://api.github.com/repos/brendanboyle87/seal-cori/issues/events{/number}","events_url":"https://api.github.com/repos/brendanboyle87/seal-cori/events","assignees_url":"https://api.github.com/repos/brendanboyle87/seal-cori/assignees{/user}","branches_url":"https://api.github.com/repos/brendanboyle87/seal-cori/branches{/branch}","tags_url":"https://api.github.com/repos/brendanboyle87/seal-cori/tags","blobs_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/refs{/sha}","trees_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brendanboyle87/seal-cori/statuses/{sha}","languages_url":"https://api.github.com/repos/brendanboyle87/seal-cori/languages","stargazers_url":"https://api.github.com/repos/brendanboyle87/seal-cori/stargazers","contributors_url":"https://api.github.com/repos/brendanboyle87/seal-cori/contributors","subscribers_url":"https://api.github.com/repos/brendanboyle87/seal-cori/subscribers","subscription_url":"https://api.github.com/repos/brendanboyle87/seal-cori/subscription","commits_url":"https://api.github.com/repos/brendanboyle87/seal-cori/commits{/sha}","git_commits_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/commits{/sha}","comments_url":"https://api.github.com/repos/brendanboyle87/seal-cori/comments{/number}","issue_comment_url":"https://api.github.com/repos/brendanboyle87/seal-cori/issues/comments{/number}","contents_url":"https://api.github.com/repos/brendanboyle87/seal-cori/contents/{+path}","compare_url":"https://api.github.com/repos/brendanboyle87/seal-cori/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brendanboyle87/seal-cori/merges","archive_url":"https://api.github.com/repos/brendanboyle87/seal-cori/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brendanboyle87/seal-cori/downloads","issues_url":"https://api.github.com/repos/brendanboyle87/seal-cori/issues{/number}","pulls_url":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls{/number}","milestones_url":"https://api.github.com/repos/brendanboyle87/seal-cori/milestones{/number}","notifications_url":"https://api.github.com/repos/brendanboyle87/seal-cori/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brendanboyle87/seal-cori/labels{/name}","releases_url":"https://api.github.com/repos/brendanboyle87/seal-cori/releases{/id}","created_at":"2015-10-05T12:58:59Z","updated_at":"2015-10-08T20:30:02Z","pushed_at":"2015-10-16T02:52:58Z","git_url":"git://github.com/brendanboyle87/seal-cori.git","ssh_url":"git@github.com:brendanboyle87/seal-cori.git","clone_url":"https://github.com/brendanboyle87/seal-cori.git","svn_url":"https://github.com/brendanboyle87/seal-cori","homepage":null,"size":532,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"brendanboyle87:master","ref":"master","sha":"4b862637b53817fea04ae7cdd82b376b303885af","user":{"login":"brendanboyle87","id":1395328,"avatar_url":"https://avatars.githubusercontent.com/u/1395328?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanboyle87","html_url":"https://github.com/brendanboyle87","followers_url":"https://api.github.com/users/brendanboyle87/followers","following_url":"https://api.github.com/users/brendanboyle87/following{/other_user}","gists_url":"https://api.github.com/users/brendanboyle87/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanboyle87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanboyle87/subscriptions","organizations_url":"https://api.github.com/users/brendanboyle87/orgs","repos_url":"https://api.github.com/users/brendanboyle87/repos","events_url":"https://api.github.com/users/brendanboyle87/events{/privacy}","received_events_url":"https://api.github.com/users/brendanboyle87/received_events","type":"User","site_admin":false},"repo":{"id":43684328,"name":"seal-cori","full_name":"brendanboyle87/seal-cori","owner":{"login":"brendanboyle87","id":1395328,"avatar_url":"https://avatars.githubusercontent.com/u/1395328?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanboyle87","html_url":"https://github.com/brendanboyle87","followers_url":"https://api.github.com/users/brendanboyle87/followers","following_url":"https://api.github.com/users/brendanboyle87/following{/other_user}","gists_url":"https://api.github.com/users/brendanboyle87/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanboyle87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanboyle87/subscriptions","organizations_url":"https://api.github.com/users/brendanboyle87/orgs","repos_url":"https://api.github.com/users/brendanboyle87/repos","events_url":"https://api.github.com/users/brendanboyle87/events{/privacy}","received_events_url":"https://api.github.com/users/brendanboyle87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brendanboyle87/seal-cori","description":"An application to determine eligibility for criminal records sealing in Massachusetts. ","fork":false,"url":"https://api.github.com/repos/brendanboyle87/seal-cori","forks_url":"https://api.github.com/repos/brendanboyle87/seal-cori/forks","keys_url":"https://api.github.com/repos/brendanboyle87/seal-cori/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brendanboyle87/seal-cori/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brendanboyle87/seal-cori/teams","hooks_url":"https://api.github.com/repos/brendanboyle87/seal-cori/hooks","issue_events_url":"https://api.github.com/repos/brendanboyle87/seal-cori/issues/events{/number}","events_url":"https://api.github.com/repos/brendanboyle87/seal-cori/events","assignees_url":"https://api.github.com/repos/brendanboyle87/seal-cori/assignees{/user}","branches_url":"https://api.github.com/repos/brendanboyle87/seal-cori/branches{/branch}","tags_url":"https://api.github.com/repos/brendanboyle87/seal-cori/tags","blobs_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/refs{/sha}","trees_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brendanboyle87/seal-cori/statuses/{sha}","languages_url":"https://api.github.com/repos/brendanboyle87/seal-cori/languages","stargazers_url":"https://api.github.com/repos/brendanboyle87/seal-cori/stargazers","contributors_url":"https://api.github.com/repos/brendanboyle87/seal-cori/contributors","subscribers_url":"https://api.github.com/repos/brendanboyle87/seal-cori/subscribers","subscription_url":"https://api.github.com/repos/brendanboyle87/seal-cori/subscription","commits_url":"https://api.github.com/repos/brendanboyle87/seal-cori/commits{/sha}","git_commits_url":"https://api.github.com/repos/brendanboyle87/seal-cori/git/commits{/sha}","comments_url":"https://api.github.com/repos/brendanboyle87/seal-cori/comments{/number}","issue_comment_url":"https://api.github.com/repos/brendanboyle87/seal-cori/issues/comments{/number}","contents_url":"https://api.github.com/repos/brendanboyle87/seal-cori/contents/{+path}","compare_url":"https://api.github.com/repos/brendanboyle87/seal-cori/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brendanboyle87/seal-cori/merges","archive_url":"https://api.github.com/repos/brendanboyle87/seal-cori/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brendanboyle87/seal-cori/downloads","issues_url":"https://api.github.com/repos/brendanboyle87/seal-cori/issues{/number}","pulls_url":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls{/number}","milestones_url":"https://api.github.com/repos/brendanboyle87/seal-cori/milestones{/number}","notifications_url":"https://api.github.com/repos/brendanboyle87/seal-cori/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brendanboyle87/seal-cori/labels{/name}","releases_url":"https://api.github.com/repos/brendanboyle87/seal-cori/releases{/id}","created_at":"2015-10-05T12:58:59Z","updated_at":"2015-10-08T20:30:02Z","pushed_at":"2015-10-16T02:52:58Z","git_url":"git://github.com/brendanboyle87/seal-cori.git","ssh_url":"git@github.com:brendanboyle87/seal-cori.git","clone_url":"https://github.com/brendanboyle87/seal-cori.git","svn_url":"https://github.com/brendanboyle87/seal-cori","homepage":null,"size":532,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/14"},"html":{"href":"https://github.com/brendanboyle87/seal-cori/pull/14"},"issue":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/issues/14"},"comments":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/brendanboyle87/seal-cori/statuses/44518e513f9cd71d1cb28c06322791fd6b4792be"}}}}