{"action":"created","issue":{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/963","repository_url":"https://api.github.com/repos/katspaugh/wavesurfer.js","labels_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/963/labels{/name}","comments_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/963/comments","events_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/963/events","html_url":"https://github.com/katspaugh/wavesurfer.js/pull/963","id":205365646,"number":963,"title":"Next: Fixes a few minor bugs and adds responsive option","user":{"login":"mspae","id":1044829,"avatar_url":"https://avatars.githubusercontent.com/u/1044829?v=3","gravatar_id":"","url":"https://api.github.com/users/mspae","html_url":"https://github.com/mspae","followers_url":"https://api.github.com/users/mspae/followers","following_url":"https://api.github.com/users/mspae/following{/other_user}","gists_url":"https://api.github.com/users/mspae/gists{/gist_id}","starred_url":"https://api.github.com/users/mspae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mspae/subscriptions","organizations_url":"https://api.github.com/users/mspae/orgs","repos_url":"https://api.github.com/users/mspae/repos","events_url":"https://api.github.com/users/mspae/events{/privacy}","received_events_url":"https://api.github.com/users/mspae/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-04T18:28:55Z","updated_at":"2017-02-04T19:48:14Z","closed_at":"2017-02-04T19:31:28Z","pull_request":{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/pulls/963","html_url":"https://github.com/katspaugh/wavesurfer.js/pull/963","diff_url":"https://github.com/katspaugh/wavesurfer.js/pull/963.diff","patch_url":"https://github.com/katspaugh/wavesurfer.js/pull/963.patch"},"body":"### Description\r\n\r\n* Fixes the bugs that came up because of out-of-date calls to `getPeaks` and `drawPeaks` (minimap plugin and when rendering split channels) (on master https://github.com/katspaugh/wavesurfer.js/pull/945 and https://github.com/katspaugh/wavesurfer.js/pull/959)\r\n* Fixes the incorrect `for ... in this.canvases` loops in timeline plugin and multicanvas renderer, refactored to use `forEach` where possible (on master https://github.com/katspaugh/wavesurfer.js/pull/961)\r\n* Turn unnecessary `let` into `const`\r\n* Fixes \"only half the waveform is being drawn\" bug\r\n* Added `responsive` option (set to `true` to enable automatic rescaling when the window resizes)\r\n\r\n### Motivation\r\n* I created on PR for all these small changes because I was lazy, hope that's ok.\r\n* Fix bugs …\r\n* Responsive option was added because I think it's a very common request and the pattern used seems to appear quite often. (It is also being used in the minimap plugin)\r\n\r\n### Breaking changes in the public facing API\r\n/\r\n\r\n### Breaking changes in the internal API\r\n/\r\n\r\n### Todos/Notes\r\n/"},"comment":{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/comments/277470999","html_url":"https://github.com/katspaugh/wavesurfer.js/pull/963#issuecomment-277470999","issue_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/963","id":277470999,"user":{"login":"thijstriemstra","id":305679,"avatar_url":"https://avatars.githubusercontent.com/u/305679?v=3","gravatar_id":"","url":"https://api.github.com/users/thijstriemstra","html_url":"https://github.com/thijstriemstra","followers_url":"https://api.github.com/users/thijstriemstra/followers","following_url":"https://api.github.com/users/thijstriemstra/following{/other_user}","gists_url":"https://api.github.com/users/thijstriemstra/gists{/gist_id}","starred_url":"https://api.github.com/users/thijstriemstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thijstriemstra/subscriptions","organizations_url":"https://api.github.com/users/thijstriemstra/orgs","repos_url":"https://api.github.com/users/thijstriemstra/repos","events_url":"https://api.github.com/users/thijstriemstra/events{/privacy}","received_events_url":"https://api.github.com/users/thijstriemstra/received_events","type":"User","site_admin":false},"created_at":"2017-02-04T19:48:14Z","updated_at":"2017-02-04T19:48:14Z","body":"awesome, thx"}}
{"actor":{"display_login":"thijstriemstra"}}