{"action":"created","comment":{"url":"https://api.github.com/repos/EmilyMB/la-joya/pulls/comments/26155889","id":26155889,"diff_hunk":"@@ -0,0 +1,45 @@\n+(function(window){\n+  $(document).ready(function(){\n+    $(\"#start-btn\").click(function(){\n+      if($(this).text()==='Grabar'){\n+        startRecording();\n+        $(this).text('Parar');\n+      }else{\n+        stopRecording();\n+        $('#meaning').show();\n+        $(this).text('Grabar');\n+        $(this).hide();\n+      }\n+\n+      if(navigator.getUserMedia) {\n+        $('#warning').hide();\n+      } else {\n+        $('#start-btn').hide();\n+        $('#meaning').hide();\n+\n+        alert(\"Favor de usar Chrome y permitir acceso al micrófono\");\n+      }\n+\n+      if(!recorder) {\n+        $('#start-btn').hide();\n+        $('#meaning').hide();","path":"app/assets/javascripts/lajoya.js","position":25,"original_position":25,"commit_id":"b77ce98716689b59e87a009718e95db8e6723899","original_commit_id":"b77ce98716689b59e87a009718e95db8e6723899","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-03-10T19:18:17Z","updated_at":"2015-03-10T19:18:17Z","html_url":"https://github.com/EmilyMB/la-joya/pull/19#discussion_r26155889","pull_request_url":"https://api.github.com/repos/EmilyMB/la-joya/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/EmilyMB/la-joya/pulls/comments/26155889"},"html":{"href":"https://github.com/EmilyMB/la-joya/pull/19#discussion_r26155889"},"pull_request":{"href":"https://api.github.com/repos/EmilyMB/la-joya/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/EmilyMB/la-joya/pulls/19","id":30883147,"html_url":"https://github.com/EmilyMB/la-joya/pull/19","diff_url":"https://github.com/EmilyMB/la-joya/pull/19.diff","patch_url":"https://github.com/EmilyMB/la-joya/pull/19.patch","issue_url":"https://api.github.com/repos/EmilyMB/la-joya/issues/19","number":19,"state":"open","locked":false,"title":"Record sound clips via browser; closes #6","user":{"login":"EmilyMB","id":8007635,"avatar_url":"https://avatars.githubusercontent.com/u/8007635?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilyMB","html_url":"https://github.com/EmilyMB","followers_url":"https://api.github.com/users/EmilyMB/followers","following_url":"https://api.github.com/users/EmilyMB/following{/other_user}","gists_url":"https://api.github.com/users/EmilyMB/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilyMB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilyMB/subscriptions","organizations_url":"https://api.github.com/users/EmilyMB/orgs","repos_url":"https://api.github.com/users/EmilyMB/repos","events_url":"https://api.github.com/users/EmilyMB/events{/privacy}","received_events_url":"https://api.github.com/users/EmilyMB/received_events","type":"User","site_admin":false},"body":"This branch add functionality to allow the user to record sound clips via the browser, as well as the clip's meaning in Spanish.\r\n\r\nChanges include:\r\n* Add simplecov\r\n* Add recorder.js\r\n* Add circle.yml to use CircleCI\r\n* Start game page\r\n\r\nNOTE: this PR includes modifications to the recorder.js library. Once base functionality is working, I will refactor to use a non-modified version of the library.","created_at":"2015-03-10T19:18:09Z","updated_at":"2015-03-10T19:18:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"968fa0ef18fd0e0605a8373df243868d7a7a78d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EmilyMB/la-joya/pulls/19/commits","review_comments_url":"https://api.github.com/repos/EmilyMB/la-joya/pulls/19/comments","review_comment_url":"https://api.github.com/repos/EmilyMB/la-joya/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EmilyMB/la-joya/issues/19/comments","statuses_url":"https://api.github.com/repos/EmilyMB/la-joya/statuses/b77ce98716689b59e87a009718e95db8e6723899","head":{"label":"EmilyMB:record_clip","ref":"record_clip","sha":"b77ce98716689b59e87a009718e95db8e6723899","user":{"login":"EmilyMB","id":8007635,"avatar_url":"https://avatars.githubusercontent.com/u/8007635?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilyMB","html_url":"https://github.com/EmilyMB","followers_url":"https://api.github.com/users/EmilyMB/followers","following_url":"https://api.github.com/users/EmilyMB/following{/other_user}","gists_url":"https://api.github.com/users/EmilyMB/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilyMB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilyMB/subscriptions","organizations_url":"https://api.github.com/users/EmilyMB/orgs","repos_url":"https://api.github.com/users/EmilyMB/repos","events_url":"https://api.github.com/users/EmilyMB/events{/privacy}","received_events_url":"https://api.github.com/users/EmilyMB/received_events","type":"User","site_admin":false},"repo":{"id":31470172,"name":"la-joya","full_name":"EmilyMB/la-joya","owner":{"login":"EmilyMB","id":8007635,"avatar_url":"https://avatars.githubusercontent.com/u/8007635?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilyMB","html_url":"https://github.com/EmilyMB","followers_url":"https://api.github.com/users/EmilyMB/followers","following_url":"https://api.github.com/users/EmilyMB/following{/other_user}","gists_url":"https://api.github.com/users/EmilyMB/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilyMB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilyMB/subscriptions","organizations_url":"https://api.github.com/users/EmilyMB/orgs","repos_url":"https://api.github.com/users/EmilyMB/repos","events_url":"https://api.github.com/users/EmilyMB/events{/privacy}","received_events_url":"https://api.github.com/users/EmilyMB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EmilyMB/la-joya","description":"","fork":false,"url":"https://api.github.com/repos/EmilyMB/la-joya","forks_url":"https://api.github.com/repos/EmilyMB/la-joya/forks","keys_url":"https://api.github.com/repos/EmilyMB/la-joya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EmilyMB/la-joya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EmilyMB/la-joya/teams","hooks_url":"https://api.github.com/repos/EmilyMB/la-joya/hooks","issue_events_url":"https://api.github.com/repos/EmilyMB/la-joya/issues/events{/number}","events_url":"https://api.github.com/repos/EmilyMB/la-joya/events","assignees_url":"https://api.github.com/repos/EmilyMB/la-joya/assignees{/user}","branches_url":"https://api.github.com/repos/EmilyMB/la-joya/branches{/branch}","tags_url":"https://api.github.com/repos/EmilyMB/la-joya/tags","blobs_url":"https://api.github.com/repos/EmilyMB/la-joya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EmilyMB/la-joya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EmilyMB/la-joya/git/refs{/sha}","trees_url":"https://api.github.com/repos/EmilyMB/la-joya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EmilyMB/la-joya/statuses/{sha}","languages_url":"https://api.github.com/repos/EmilyMB/la-joya/languages","stargazers_url":"https://api.github.com/repos/EmilyMB/la-joya/stargazers","contributors_url":"https://api.github.com/repos/EmilyMB/la-joya/contributors","subscribers_url":"https://api.github.com/repos/EmilyMB/la-joya/subscribers","subscription_url":"https://api.github.com/repos/EmilyMB/la-joya/subscription","commits_url":"https://api.github.com/repos/EmilyMB/la-joya/commits{/sha}","git_commits_url":"https://api.github.com/repos/EmilyMB/la-joya/git/commits{/sha}","comments_url":"https://api.github.com/repos/EmilyMB/la-joya/comments{/number}","issue_comment_url":"https://api.github.com/repos/EmilyMB/la-joya/issues/comments{/number}","contents_url":"https://api.github.com/repos/EmilyMB/la-joya/contents/{+path}","compare_url":"https://api.github.com/repos/EmilyMB/la-joya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EmilyMB/la-joya/merges","archive_url":"https://api.github.com/repos/EmilyMB/la-joya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EmilyMB/la-joya/downloads","issues_url":"https://api.github.com/repos/EmilyMB/la-joya/issues{/number}","pulls_url":"https://api.github.com/repos/EmilyMB/la-joya/pulls{/number}","milestones_url":"https://api.github.com/repos/EmilyMB/la-joya/milestones{/number}","notifications_url":"https://api.github.com/repos/EmilyMB/la-joya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EmilyMB/la-joya/labels{/name}","releases_url":"https://api.github.com/repos/EmilyMB/la-joya/releases{/id}","created_at":"2015-02-28T17:32:53Z","updated_at":"2015-03-05T15:21:44Z","pushed_at":"2015-03-10T19:11:07Z","git_url":"git://github.com/EmilyMB/la-joya.git","ssh_url":"git@github.com:EmilyMB/la-joya.git","clone_url":"https://github.com/EmilyMB/la-joya.git","svn_url":"https://github.com/EmilyMB/la-joya","homepage":null,"size":700,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"EmilyMB:master","ref":"master","sha":"f59ade81d5d78fdc2453c0d0bf0f4f879e3146f8","user":{"login":"EmilyMB","id":8007635,"avatar_url":"https://avatars.githubusercontent.com/u/8007635?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilyMB","html_url":"https://github.com/EmilyMB","followers_url":"https://api.github.com/users/EmilyMB/followers","following_url":"https://api.github.com/users/EmilyMB/following{/other_user}","gists_url":"https://api.github.com/users/EmilyMB/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilyMB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilyMB/subscriptions","organizations_url":"https://api.github.com/users/EmilyMB/orgs","repos_url":"https://api.github.com/users/EmilyMB/repos","events_url":"https://api.github.com/users/EmilyMB/events{/privacy}","received_events_url":"https://api.github.com/users/EmilyMB/received_events","type":"User","site_admin":false},"repo":{"id":31470172,"name":"la-joya","full_name":"EmilyMB/la-joya","owner":{"login":"EmilyMB","id":8007635,"avatar_url":"https://avatars.githubusercontent.com/u/8007635?v=3","gravatar_id":"","url":"https://api.github.com/users/EmilyMB","html_url":"https://github.com/EmilyMB","followers_url":"https://api.github.com/users/EmilyMB/followers","following_url":"https://api.github.com/users/EmilyMB/following{/other_user}","gists_url":"https://api.github.com/users/EmilyMB/gists{/gist_id}","starred_url":"https://api.github.com/users/EmilyMB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EmilyMB/subscriptions","organizations_url":"https://api.github.com/users/EmilyMB/orgs","repos_url":"https://api.github.com/users/EmilyMB/repos","events_url":"https://api.github.com/users/EmilyMB/events{/privacy}","received_events_url":"https://api.github.com/users/EmilyMB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EmilyMB/la-joya","description":"","fork":false,"url":"https://api.github.com/repos/EmilyMB/la-joya","forks_url":"https://api.github.com/repos/EmilyMB/la-joya/forks","keys_url":"https://api.github.com/repos/EmilyMB/la-joya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EmilyMB/la-joya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EmilyMB/la-joya/teams","hooks_url":"https://api.github.com/repos/EmilyMB/la-joya/hooks","issue_events_url":"https://api.github.com/repos/EmilyMB/la-joya/issues/events{/number}","events_url":"https://api.github.com/repos/EmilyMB/la-joya/events","assignees_url":"https://api.github.com/repos/EmilyMB/la-joya/assignees{/user}","branches_url":"https://api.github.com/repos/EmilyMB/la-joya/branches{/branch}","tags_url":"https://api.github.com/repos/EmilyMB/la-joya/tags","blobs_url":"https://api.github.com/repos/EmilyMB/la-joya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EmilyMB/la-joya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EmilyMB/la-joya/git/refs{/sha}","trees_url":"https://api.github.com/repos/EmilyMB/la-joya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EmilyMB/la-joya/statuses/{sha}","languages_url":"https://api.github.com/repos/EmilyMB/la-joya/languages","stargazers_url":"https://api.github.com/repos/EmilyMB/la-joya/stargazers","contributors_url":"https://api.github.com/repos/EmilyMB/la-joya/contributors","subscribers_url":"https://api.github.com/repos/EmilyMB/la-joya/subscribers","subscription_url":"https://api.github.com/repos/EmilyMB/la-joya/subscription","commits_url":"https://api.github.com/repos/EmilyMB/la-joya/commits{/sha}","git_commits_url":"https://api.github.com/repos/EmilyMB/la-joya/git/commits{/sha}","comments_url":"https://api.github.com/repos/EmilyMB/la-joya/comments{/number}","issue_comment_url":"https://api.github.com/repos/EmilyMB/la-joya/issues/comments{/number}","contents_url":"https://api.github.com/repos/EmilyMB/la-joya/contents/{+path}","compare_url":"https://api.github.com/repos/EmilyMB/la-joya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EmilyMB/la-joya/merges","archive_url":"https://api.github.com/repos/EmilyMB/la-joya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EmilyMB/la-joya/downloads","issues_url":"https://api.github.com/repos/EmilyMB/la-joya/issues{/number}","pulls_url":"https://api.github.com/repos/EmilyMB/la-joya/pulls{/number}","milestones_url":"https://api.github.com/repos/EmilyMB/la-joya/milestones{/number}","notifications_url":"https://api.github.com/repos/EmilyMB/la-joya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EmilyMB/la-joya/labels{/name}","releases_url":"https://api.github.com/repos/EmilyMB/la-joya/releases{/id}","created_at":"2015-02-28T17:32:53Z","updated_at":"2015-03-05T15:21:44Z","pushed_at":"2015-03-10T19:11:07Z","git_url":"git://github.com/EmilyMB/la-joya.git","ssh_url":"git@github.com:EmilyMB/la-joya.git","clone_url":"https://github.com/EmilyMB/la-joya.git","svn_url":"https://github.com/EmilyMB/la-joya","homepage":null,"size":700,"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":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EmilyMB/la-joya/pulls/19"},"html":{"href":"https://github.com/EmilyMB/la-joya/pull/19"},"issue":{"href":"https://api.github.com/repos/EmilyMB/la-joya/issues/19"},"comments":{"href":"https://api.github.com/repos/EmilyMB/la-joya/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/EmilyMB/la-joya/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/EmilyMB/la-joya/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EmilyMB/la-joya/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/EmilyMB/la-joya/statuses/b77ce98716689b59e87a009718e95db8e6723899"}}}}