{"action":"created","issue":{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/659","repository_url":"https://api.github.com/repos/katspaugh/wavesurfer.js","labels_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/659/comments","events_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/659/events","html_url":"https://github.com/katspaugh/wavesurfer.js/pull/659","id":136724234,"number":659,"title":"add cancelLoad method and info to readme.","user":{"login":"pmckelvy1","id":4543414,"avatar_url":"https://avatars.githubusercontent.com/u/4543414?v=3","gravatar_id":"","url":"https://api.github.com/users/pmckelvy1","html_url":"https://github.com/pmckelvy1","followers_url":"https://api.github.com/users/pmckelvy1/followers","following_url":"https://api.github.com/users/pmckelvy1/following{/other_user}","gists_url":"https://api.github.com/users/pmckelvy1/gists{/gist_id}","starred_url":"https://api.github.com/users/pmckelvy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmckelvy1/subscriptions","organizations_url":"https://api.github.com/users/pmckelvy1/orgs","repos_url":"https://api.github.com/users/pmckelvy1/repos","events_url":"https://api.github.com/users/pmckelvy1/events{/privacy}","received_events_url":"https://api.github.com/users/pmckelvy1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-26T15:16:46Z","updated_at":"2016-02-26T15:27:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/pulls/659","html_url":"https://github.com/katspaugh/wavesurfer.js/pull/659","diff_url":"https://github.com/katspaugh/wavesurfer.js/pull/659.diff","patch_url":"https://github.com/katspaugh/wavesurfer.js/pull/659.patch"},"body":"I wrote this method to help me in using wavesurfer.js with react.  Occasionally the user would navigate before an audio unit was finished loading which would cause errors.  In the case that a React componentWillUnmount and it is holding a waversurfer unit that is currently loading audio, 'cancelLoad' can be called with the XHR object returned from 'load' to perform garbage collection."},"comment":{"url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/comments/189322544","html_url":"https://github.com/katspaugh/wavesurfer.js/pull/659#issuecomment-189322544","issue_url":"https://api.github.com/repos/katspaugh/wavesurfer.js/issues/659","id":189322544,"user":{"login":"pmckelvy1","id":4543414,"avatar_url":"https://avatars.githubusercontent.com/u/4543414?v=3","gravatar_id":"","url":"https://api.github.com/users/pmckelvy1","html_url":"https://github.com/pmckelvy1","followers_url":"https://api.github.com/users/pmckelvy1/followers","following_url":"https://api.github.com/users/pmckelvy1/following{/other_user}","gists_url":"https://api.github.com/users/pmckelvy1/gists{/gist_id}","starred_url":"https://api.github.com/users/pmckelvy1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmckelvy1/subscriptions","organizations_url":"https://api.github.com/users/pmckelvy1/orgs","repos_url":"https://api.github.com/users/pmckelvy1/repos","events_url":"https://api.github.com/users/pmckelvy1/events{/privacy}","received_events_url":"https://api.github.com/users/pmckelvy1/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T15:27:36Z","updated_at":"2016-02-26T15:27:36Z","body":"i might indeed. thank you.\n\ncloudsounds.xyz\n\nOn Fri, Feb 26, 2016 at 10:22 AM, Martin Spencer <notifications@github.com>\nwrote:\n\n> You might find this interesting https://github.com/mspae/react-wavesurfer\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/katspaugh/wavesurfer.js/pull/659#issuecomment-189320915>\n> .\n>\n"}}