{"action":"created","issue":{"url":"https://api.github.com/repos/jackmoore/zoom/issues/83","repository_url":"https://api.github.com/repos/jackmoore/zoom","labels_url":"https://api.github.com/repos/jackmoore/zoom/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/jackmoore/zoom/issues/83/comments","events_url":"https://api.github.com/repos/jackmoore/zoom/issues/83/events","html_url":"https://github.com/jackmoore/zoom/issues/83","id":83475202,"number":83,"title":"destroy event doesn't destroy the instance when the big image wasn't loaded yet","user":{"login":"ppowalowski","id":761221,"avatar_url":"https://avatars.githubusercontent.com/u/761221?v=3","gravatar_id":"","url":"https://api.github.com/users/ppowalowski","html_url":"https://github.com/ppowalowski","followers_url":"https://api.github.com/users/ppowalowski/followers","following_url":"https://api.github.com/users/ppowalowski/following{/other_user}","gists_url":"https://api.github.com/users/ppowalowski/gists{/gist_id}","starred_url":"https://api.github.com/users/ppowalowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppowalowski/subscriptions","organizations_url":"https://api.github.com/users/ppowalowski/orgs","repos_url":"https://api.github.com/users/ppowalowski/repos","events_url":"https://api.github.com/users/ppowalowski/events{/privacy}","received_events_url":"https://api.github.com/users/ppowalowski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-06-01T12:47:44Z","updated_at":"2016-09-07T17:40:06Z","closed_at":"2016-09-07T17:35:10Z","body":"When you try to trigger the `zoom.destroy` event, when the big image was not loaded yet, the event is triggered properly but zoom runs into a trap as it initializes itself in the the `onload` portion of the code."},"comment":{"url":"https://api.github.com/repos/jackmoore/zoom/issues/comments/245359481","html_url":"https://github.com/jackmoore/zoom/issues/83#issuecomment-245359481","issue_url":"https://api.github.com/repos/jackmoore/zoom/issues/83","id":245359481,"user":{"login":"jackmoore","id":59797,"avatar_url":"https://avatars.githubusercontent.com/u/59797?v=3","gravatar_id":"","url":"https://api.github.com/users/jackmoore","html_url":"https://github.com/jackmoore","followers_url":"https://api.github.com/users/jackmoore/followers","following_url":"https://api.github.com/users/jackmoore/following{/other_user}","gists_url":"https://api.github.com/users/jackmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/jackmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackmoore/subscriptions","organizations_url":"https://api.github.com/users/jackmoore/orgs","repos_url":"https://api.github.com/users/jackmoore/repos","events_url":"https://api.github.com/users/jackmoore/events{/privacy}","received_events_url":"https://api.github.com/users/jackmoore/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T17:40:06Z","updated_at":"2016-09-07T17:40:06Z","body":"I decided to fix it by cancelling the generated img's onload event, but thank you for pointing out the issue and submitting a pull request.  My apologies for the late response."}}
{"actor":{"display_login":"jackmoore"}}