{"action":"opened","number":56,"pull_request":{"url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls/56","id":94264228,"html_url":"https://github.com/chartjs/chartjs-plugin-zoom/pull/56","diff_url":"https://github.com/chartjs/chartjs-plugin-zoom/pull/56.diff","patch_url":"https://github.com/chartjs/chartjs-plugin-zoom/pull/56.patch","issue_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/issues/56","number":56,"state":"open","locked":false,"title":"Fix plugin `destroy()` hook","user":{"login":"compwright","id":138688,"avatar_url":"https://avatars.githubusercontent.com/u/138688?v=3","gravatar_id":"","url":"https://api.github.com/users/compwright","html_url":"https://github.com/compwright","followers_url":"https://api.github.com/users/compwright/followers","following_url":"https://api.github.com/users/compwright/following{/other_user}","gists_url":"https://api.github.com/users/compwright/gists{/gist_id}","starred_url":"https://api.github.com/users/compwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compwright/subscriptions","organizations_url":"https://api.github.com/users/compwright/orgs","repos_url":"https://api.github.com/users/compwright/repos","events_url":"https://api.github.com/users/compwright/events{/privacy}","received_events_url":"https://api.github.com/users/compwright/received_events","type":"User","site_admin":false},"body":"Fixes a Javascript error when the chart is destroyed:\r\n\r\n`Uncaught TypeError: Cannot read property 'canvas' of null`\r\n\r\nSaves a reference to the chart canvas so that we can unbind events later. Properly removes all event listeners from the canvas on `destroy()`.\r\n\r\nResolves #54","created_at":"2016-11-17T22:26:22Z","updated_at":"2016-11-17T22:26:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls/56/commits","review_comments_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls/56/comments","review_comment_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/issues/56/comments","statuses_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/statuses/f769fb9064e51fccb17037242cbe7ca6d26ca3e2","head":{"label":"compwright:fix-destroy","ref":"fix-destroy","sha":"f769fb9064e51fccb17037242cbe7ca6d26ca3e2","user":{"login":"compwright","id":138688,"avatar_url":"https://avatars.githubusercontent.com/u/138688?v=3","gravatar_id":"","url":"https://api.github.com/users/compwright","html_url":"https://github.com/compwright","followers_url":"https://api.github.com/users/compwright/followers","following_url":"https://api.github.com/users/compwright/following{/other_user}","gists_url":"https://api.github.com/users/compwright/gists{/gist_id}","starred_url":"https://api.github.com/users/compwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compwright/subscriptions","organizations_url":"https://api.github.com/users/compwright/orgs","repos_url":"https://api.github.com/users/compwright/repos","events_url":"https://api.github.com/users/compwright/events{/privacy}","received_events_url":"https://api.github.com/users/compwright/received_events","type":"User","site_admin":false},"repo":{"id":74059752,"name":"chartjs-plugin-zoom","full_name":"compwright/chartjs-plugin-zoom","owner":{"login":"compwright","id":138688,"avatar_url":"https://avatars.githubusercontent.com/u/138688?v=3","gravatar_id":"","url":"https://api.github.com/users/compwright","html_url":"https://github.com/compwright","followers_url":"https://api.github.com/users/compwright/followers","following_url":"https://api.github.com/users/compwright/following{/other_user}","gists_url":"https://api.github.com/users/compwright/gists{/gist_id}","starred_url":"https://api.github.com/users/compwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compwright/subscriptions","organizations_url":"https://api.github.com/users/compwright/orgs","repos_url":"https://api.github.com/users/compwright/repos","events_url":"https://api.github.com/users/compwright/events{/privacy}","received_events_url":"https://api.github.com/users/compwright/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/compwright/chartjs-plugin-zoom","description":"Zoom and pan plugin for Chart.js","fork":true,"url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom","forks_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/forks","keys_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/teams","hooks_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/hooks","issue_events_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/issues/events{/number}","events_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/events","assignees_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/assignees{/user}","branches_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/branches{/branch}","tags_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/tags","blobs_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/git/refs{/sha}","trees_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/statuses/{sha}","languages_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/languages","stargazers_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/stargazers","contributors_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/contributors","subscribers_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/subscribers","subscription_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/subscription","commits_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/commits{/sha}","git_commits_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/git/commits{/sha}","comments_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/comments{/number}","issue_comment_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/issues/comments{/number}","contents_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/contents/{+path}","compare_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/merges","archive_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/downloads","issues_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/issues{/number}","pulls_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/pulls{/number}","milestones_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/milestones{/number}","notifications_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/labels{/name}","releases_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/releases{/id}","deployments_url":"https://api.github.com/repos/compwright/chartjs-plugin-zoom/deployments","created_at":"2016-11-17T19:22:31Z","updated_at":"2016-11-17T19:22:32Z","pushed_at":"2016-11-17T22:24:48Z","git_url":"git://github.com/compwright/chartjs-plugin-zoom.git","ssh_url":"git@github.com:compwright/chartjs-plugin-zoom.git","clone_url":"https://github.com/compwright/chartjs-plugin-zoom.git","svn_url":"https://github.com/compwright/chartjs-plugin-zoom","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chartjs:master","ref":"master","sha":"5f4d5d449aab97555ccf0f952d9446e15e6c15e8","user":{"login":"chartjs","id":10342521,"avatar_url":"https://avatars.githubusercontent.com/u/10342521?v=3","gravatar_id":"","url":"https://api.github.com/users/chartjs","html_url":"https://github.com/chartjs","followers_url":"https://api.github.com/users/chartjs/followers","following_url":"https://api.github.com/users/chartjs/following{/other_user}","gists_url":"https://api.github.com/users/chartjs/gists{/gist_id}","starred_url":"https://api.github.com/users/chartjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chartjs/subscriptions","organizations_url":"https://api.github.com/users/chartjs/orgs","repos_url":"https://api.github.com/users/chartjs/repos","events_url":"https://api.github.com/users/chartjs/events{/privacy}","received_events_url":"https://api.github.com/users/chartjs/received_events","type":"Organization","site_admin":false},"repo":{"id":58010265,"name":"chartjs-plugin-zoom","full_name":"chartjs/chartjs-plugin-zoom","owner":{"login":"chartjs","id":10342521,"avatar_url":"https://avatars.githubusercontent.com/u/10342521?v=3","gravatar_id":"","url":"https://api.github.com/users/chartjs","html_url":"https://github.com/chartjs","followers_url":"https://api.github.com/users/chartjs/followers","following_url":"https://api.github.com/users/chartjs/following{/other_user}","gists_url":"https://api.github.com/users/chartjs/gists{/gist_id}","starred_url":"https://api.github.com/users/chartjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chartjs/subscriptions","organizations_url":"https://api.github.com/users/chartjs/orgs","repos_url":"https://api.github.com/users/chartjs/repos","events_url":"https://api.github.com/users/chartjs/events{/privacy}","received_events_url":"https://api.github.com/users/chartjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chartjs/chartjs-plugin-zoom","description":"Zoom and pan plugin for Chart.js","fork":false,"url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom","forks_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/forks","keys_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/teams","hooks_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/hooks","issue_events_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/issues/events{/number}","events_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/events","assignees_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/assignees{/user}","branches_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/branches{/branch}","tags_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/tags","blobs_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/git/refs{/sha}","trees_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/statuses/{sha}","languages_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/languages","stargazers_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/stargazers","contributors_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/contributors","subscribers_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/subscribers","subscription_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/subscription","commits_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/commits{/sha}","git_commits_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/git/commits{/sha}","comments_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/comments{/number}","issue_comment_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/issues/comments{/number}","contents_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/contents/{+path}","compare_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/merges","archive_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/downloads","issues_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/issues{/number}","pulls_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls{/number}","milestones_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/milestones{/number}","notifications_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/labels{/name}","releases_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/releases{/id}","deployments_url":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/deployments","created_at":"2016-05-04T00:19:02Z","updated_at":"2016-11-16T05:05:22Z","pushed_at":"2016-11-17T19:56:33Z","git_url":"git://github.com/chartjs/chartjs-plugin-zoom.git","ssh_url":"git@github.com:chartjs/chartjs-plugin-zoom.git","clone_url":"https://github.com/chartjs/chartjs-plugin-zoom.git","svn_url":"https://github.com/chartjs/chartjs-plugin-zoom","homepage":null,"size":111,"stargazers_count":45,"watchers_count":45,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":13,"forks":23,"open_issues":13,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls/56"},"html":{"href":"https://github.com/chartjs/chartjs-plugin-zoom/pull/56"},"issue":{"href":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/issues/56"},"comments":{"href":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/chartjs/chartjs-plugin-zoom/statuses/f769fb9064e51fccb17037242cbe7ca6d26ca3e2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":93,"deletions":61,"changed_files":4}}
{"actor":{"display_login":"compwright"}}