{"action":"created","issue":{"url":"https://api.github.com/repos/articulate/rise-mp3-recorder/issues/4","repository_url":"https://api.github.com/repos/articulate/rise-mp3-recorder","labels_url":"https://api.github.com/repos/articulate/rise-mp3-recorder/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/articulate/rise-mp3-recorder/issues/4/comments","events_url":"https://api.github.com/repos/articulate/rise-mp3-recorder/issues/4/events","html_url":"https://github.com/articulate/rise-mp3-recorder/pull/4","id":184064315,"number":4,"title":"Let's not mutate the global window.navigator object","user":{"login":"rpearce","id":592876,"avatar_url":"https://avatars.githubusercontent.com/u/592876?v=3","gravatar_id":"","url":"https://api.github.com/users/rpearce","html_url":"https://github.com/rpearce","followers_url":"https://api.github.com/users/rpearce/followers","following_url":"https://api.github.com/users/rpearce/following{/other_user}","gists_url":"https://api.github.com/users/rpearce/gists{/gist_id}","starred_url":"https://api.github.com/users/rpearce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpearce/subscriptions","organizations_url":"https://api.github.com/users/rpearce/orgs","repos_url":"https://api.github.com/users/rpearce/repos","events_url":"https://api.github.com/users/rpearce/events{/privacy}","received_events_url":"https://api.github.com/users/rpearce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-19T20:22:56Z","updated_at":"2016-10-19T20:26:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/articulate/rise-mp3-recorder/pulls/4","html_url":"https://github.com/articulate/rise-mp3-recorder/pull/4","diff_url":"https://github.com/articulate/rise-mp3-recorder/pull/4.diff","patch_url":"https://github.com/articulate/rise-mp3-recorder/pull/4.patch"},"body":"The issue with mutating the global is that browsers who don't support `getUserMedia` (like Safari) get some funkyness associated with them when calling/testing `window.navigator.getUserMedia`.\r\n\r\nAnd it's probably a good practice.\r\n\r\nNote: the reason the `.bind(window.navigator)` is included here is [explained here](http://stackoverflow.com/a/27552062/680394).\r\n\r\nTo test:\r\n\r\n1. clone this repo and check out this branch\r\n1. run `$ npm link`\r\n1. in your rise-frontend project, run `$ npm link @articulate/rise-mp3-recorder`\r\n1. start up your authoring bundles\r\n- [ ] can still record audio in Chrome"},"comment":{"url":"https://api.github.com/repos/articulate/rise-mp3-recorder/issues/comments/254930305","html_url":"https://github.com/articulate/rise-mp3-recorder/pull/4#issuecomment-254930305","issue_url":"https://api.github.com/repos/articulate/rise-mp3-recorder/issues/4","id":254930305,"user":{"login":"spencerfdavis","id":1526292,"avatar_url":"https://avatars.githubusercontent.com/u/1526292?v=3","gravatar_id":"","url":"https://api.github.com/users/spencerfdavis","html_url":"https://github.com/spencerfdavis","followers_url":"https://api.github.com/users/spencerfdavis/followers","following_url":"https://api.github.com/users/spencerfdavis/following{/other_user}","gists_url":"https://api.github.com/users/spencerfdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/spencerfdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spencerfdavis/subscriptions","organizations_url":"https://api.github.com/users/spencerfdavis/orgs","repos_url":"https://api.github.com/users/spencerfdavis/repos","events_url":"https://api.github.com/users/spencerfdavis/events{/privacy}","received_events_url":"https://api.github.com/users/spencerfdavis/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T20:26:10Z","updated_at":"2016-10-19T20:26:10Z","body":"👁 "}}
{"actor":{"display_login":"spencerfdavis"}}