{"action":"created","comment":{"url":"https://api.github.com/repos/ledes/BAE/pulls/comments/41260035","id":41260035,"diff_hunk":"@@ -0,0 +1,39 @@\n+$(document).ready(function() {\n+\n+  $(\"#r1\").click(function() {\n+    var sentencesTable = document.querySelectorAll('#sentences');\n+    var keywordsTable = document.querySelectorAll('#keywords');\n+    var comboTable = document.querySelectorAll('#combo');\n+    var addVocabulary = document.querySelectorAll('#add');\n+\n+    sentencesTable[0].classList.remove('hidden');\n+    keywordsTable[0].classList.add('hidden');\n+    comboTable[0].classList.add('hidden');\n+    addVocabulary[0].classList.add('hidden');\n+  });\n+\n+  $(\"#r2\").click(function() {\n+    var sentencesTable = document.querySelectorAll('#sentences');\n+    var keywordsTable = document.querySelectorAll('#keywords');\n+    var comboTable = document.querySelectorAll('#combo');\n+    var addVocabulary = document.querySelectorAll('#add');\n+\n+    sentencesTable[0].classList.add('hidden');\n+    keywordsTable[0].classList.remove('hidden');\n+    comboTable[0].classList.add('hidden');\n+    addVocabulary[0].classList.add('hidden');\n+  });\n+\n+  $(\"#r3\").click(function() {\n+    var sentencesTable = document.querySelectorAll('#sentences');\n+    var keywordsTable = document.querySelectorAll('#keywords');\n+    var comboTable = document.querySelectorAll('#combo');\n+    var addVocabulary = document.querySelectorAll('#add');\n+\n+    sentencesTable[0].classList.add('hidden');\n+    keywordsTable[0].classList.add('hidden');","path":"app/assets/javascripts/vocabulary.js","position":34,"original_position":34,"commit_id":"934a590242aa31736d7f8b4cd14953ea1bd65c1a","original_commit_id":"934a590242aa31736d7f8b4cd14953ea1bd65c1a","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-06T13:02:18Z","updated_at":"2015-10-06T13:02:18Z","html_url":"https://github.com/ledes/BAE/pull/9#discussion_r41260035","pull_request_url":"https://api.github.com/repos/ledes/BAE/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/ledes/BAE/pulls/comments/41260035"},"html":{"href":"https://github.com/ledes/BAE/pull/9#discussion_r41260035"},"pull_request":{"href":"https://api.github.com/repos/ledes/BAE/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/ledes/BAE/pulls/9","id":46898802,"html_url":"https://github.com/ledes/BAE/pull/9","diff_url":"https://github.com/ledes/BAE/pull/9.diff","patch_url":"https://github.com/ledes/BAE/pull/9.patch","issue_url":"https://api.github.com/repos/ledes/BAE/issues/9","number":9,"state":"open","locked":false,"title":"Table interactions","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"body":"-Created test to make sure user only sees the right table\r\n-Created JS function to hide tables\r\n-Started Readme file\r\n-Created seed file","created_at":"2015-10-06T12:57:07Z","updated_at":"2015-10-06T13:02:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e32bf3d97df8cfb4a4c66f0291a14b42246e9d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ledes/BAE/pulls/9/commits","review_comments_url":"https://api.github.com/repos/ledes/BAE/pulls/9/comments","review_comment_url":"https://api.github.com/repos/ledes/BAE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ledes/BAE/issues/9/comments","statuses_url":"https://api.github.com/repos/ledes/BAE/statuses/934a590242aa31736d7f8b4cd14953ea1bd65c1a","head":{"label":"ledes:table_interactions","ref":"table_interactions","sha":"934a590242aa31736d7f8b4cd14953ea1bd65c1a","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"repo":{"id":42894843,"name":"BAE","full_name":"ledes/BAE","owner":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ledes/BAE","description":"","fork":false,"url":"https://api.github.com/repos/ledes/BAE","forks_url":"https://api.github.com/repos/ledes/BAE/forks","keys_url":"https://api.github.com/repos/ledes/BAE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ledes/BAE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ledes/BAE/teams","hooks_url":"https://api.github.com/repos/ledes/BAE/hooks","issue_events_url":"https://api.github.com/repos/ledes/BAE/issues/events{/number}","events_url":"https://api.github.com/repos/ledes/BAE/events","assignees_url":"https://api.github.com/repos/ledes/BAE/assignees{/user}","branches_url":"https://api.github.com/repos/ledes/BAE/branches{/branch}","tags_url":"https://api.github.com/repos/ledes/BAE/tags","blobs_url":"https://api.github.com/repos/ledes/BAE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ledes/BAE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ledes/BAE/git/refs{/sha}","trees_url":"https://api.github.com/repos/ledes/BAE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ledes/BAE/statuses/{sha}","languages_url":"https://api.github.com/repos/ledes/BAE/languages","stargazers_url":"https://api.github.com/repos/ledes/BAE/stargazers","contributors_url":"https://api.github.com/repos/ledes/BAE/contributors","subscribers_url":"https://api.github.com/repos/ledes/BAE/subscribers","subscription_url":"https://api.github.com/repos/ledes/BAE/subscription","commits_url":"https://api.github.com/repos/ledes/BAE/commits{/sha}","git_commits_url":"https://api.github.com/repos/ledes/BAE/git/commits{/sha}","comments_url":"https://api.github.com/repos/ledes/BAE/comments{/number}","issue_comment_url":"https://api.github.com/repos/ledes/BAE/issues/comments{/number}","contents_url":"https://api.github.com/repos/ledes/BAE/contents/{+path}","compare_url":"https://api.github.com/repos/ledes/BAE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ledes/BAE/merges","archive_url":"https://api.github.com/repos/ledes/BAE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ledes/BAE/downloads","issues_url":"https://api.github.com/repos/ledes/BAE/issues{/number}","pulls_url":"https://api.github.com/repos/ledes/BAE/pulls{/number}","milestones_url":"https://api.github.com/repos/ledes/BAE/milestones{/number}","notifications_url":"https://api.github.com/repos/ledes/BAE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ledes/BAE/labels{/name}","releases_url":"https://api.github.com/repos/ledes/BAE/releases{/id}","created_at":"2015-09-21T21:32:55Z","updated_at":"2015-10-03T13:43:16Z","pushed_at":"2015-10-06T13:02:05Z","git_url":"git://github.com/ledes/BAE.git","ssh_url":"git@github.com:ledes/BAE.git","clone_url":"https://github.com/ledes/BAE.git","svn_url":"https://github.com/ledes/BAE","homepage":null,"size":24680,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ledes:master","ref":"master","sha":"c77fb53884a916b597e79d5feea777012734fbb0","user":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"repo":{"id":42894843,"name":"BAE","full_name":"ledes/BAE","owner":{"login":"ledes","id":12192218,"avatar_url":"https://avatars.githubusercontent.com/u/12192218?v=3","gravatar_id":"","url":"https://api.github.com/users/ledes","html_url":"https://github.com/ledes","followers_url":"https://api.github.com/users/ledes/followers","following_url":"https://api.github.com/users/ledes/following{/other_user}","gists_url":"https://api.github.com/users/ledes/gists{/gist_id}","starred_url":"https://api.github.com/users/ledes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledes/subscriptions","organizations_url":"https://api.github.com/users/ledes/orgs","repos_url":"https://api.github.com/users/ledes/repos","events_url":"https://api.github.com/users/ledes/events{/privacy}","received_events_url":"https://api.github.com/users/ledes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ledes/BAE","description":"","fork":false,"url":"https://api.github.com/repos/ledes/BAE","forks_url":"https://api.github.com/repos/ledes/BAE/forks","keys_url":"https://api.github.com/repos/ledes/BAE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ledes/BAE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ledes/BAE/teams","hooks_url":"https://api.github.com/repos/ledes/BAE/hooks","issue_events_url":"https://api.github.com/repos/ledes/BAE/issues/events{/number}","events_url":"https://api.github.com/repos/ledes/BAE/events","assignees_url":"https://api.github.com/repos/ledes/BAE/assignees{/user}","branches_url":"https://api.github.com/repos/ledes/BAE/branches{/branch}","tags_url":"https://api.github.com/repos/ledes/BAE/tags","blobs_url":"https://api.github.com/repos/ledes/BAE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ledes/BAE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ledes/BAE/git/refs{/sha}","trees_url":"https://api.github.com/repos/ledes/BAE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ledes/BAE/statuses/{sha}","languages_url":"https://api.github.com/repos/ledes/BAE/languages","stargazers_url":"https://api.github.com/repos/ledes/BAE/stargazers","contributors_url":"https://api.github.com/repos/ledes/BAE/contributors","subscribers_url":"https://api.github.com/repos/ledes/BAE/subscribers","subscription_url":"https://api.github.com/repos/ledes/BAE/subscription","commits_url":"https://api.github.com/repos/ledes/BAE/commits{/sha}","git_commits_url":"https://api.github.com/repos/ledes/BAE/git/commits{/sha}","comments_url":"https://api.github.com/repos/ledes/BAE/comments{/number}","issue_comment_url":"https://api.github.com/repos/ledes/BAE/issues/comments{/number}","contents_url":"https://api.github.com/repos/ledes/BAE/contents/{+path}","compare_url":"https://api.github.com/repos/ledes/BAE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ledes/BAE/merges","archive_url":"https://api.github.com/repos/ledes/BAE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ledes/BAE/downloads","issues_url":"https://api.github.com/repos/ledes/BAE/issues{/number}","pulls_url":"https://api.github.com/repos/ledes/BAE/pulls{/number}","milestones_url":"https://api.github.com/repos/ledes/BAE/milestones{/number}","notifications_url":"https://api.github.com/repos/ledes/BAE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ledes/BAE/labels{/name}","releases_url":"https://api.github.com/repos/ledes/BAE/releases{/id}","created_at":"2015-09-21T21:32:55Z","updated_at":"2015-10-03T13:43:16Z","pushed_at":"2015-10-06T13:02:05Z","git_url":"git://github.com/ledes/BAE.git","ssh_url":"git@github.com:ledes/BAE.git","clone_url":"https://github.com/ledes/BAE.git","svn_url":"https://github.com/ledes/BAE","homepage":null,"size":24680,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ledes/BAE/pulls/9"},"html":{"href":"https://github.com/ledes/BAE/pull/9"},"issue":{"href":"https://api.github.com/repos/ledes/BAE/issues/9"},"comments":{"href":"https://api.github.com/repos/ledes/BAE/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/ledes/BAE/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/ledes/BAE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ledes/BAE/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/ledes/BAE/statuses/934a590242aa31736d7f8b4cd14953ea1bd65c1a"}}}}