{"action":"created","issue":{"url":"https://api.github.com/repos/michalvalasek/meteor-autoform-bootstrap-colorpicker/issues/1","labels_url":"https://api.github.com/repos/michalvalasek/meteor-autoform-bootstrap-colorpicker/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/michalvalasek/meteor-autoform-bootstrap-colorpicker/issues/1/comments","events_url":"https://api.github.com/repos/michalvalasek/meteor-autoform-bootstrap-colorpicker/issues/1/events","html_url":"https://github.com/michalvalasek/meteor-autoform-bootstrap-colorpicker/pull/1","id":104056973,"number":1,"title":"Correctly destroying the colorpicker instance","user":{"login":"Pagebakers","id":32583,"avatar_url":"https://avatars.githubusercontent.com/u/32583?v=3","gravatar_id":"","url":"https://api.github.com/users/Pagebakers","html_url":"https://github.com/Pagebakers","followers_url":"https://api.github.com/users/Pagebakers/followers","following_url":"https://api.github.com/users/Pagebakers/following{/other_user}","gists_url":"https://api.github.com/users/Pagebakers/gists{/gist_id}","starred_url":"https://api.github.com/users/Pagebakers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pagebakers/subscriptions","organizations_url":"https://api.github.com/users/Pagebakers/orgs","repos_url":"https://api.github.com/users/Pagebakers/repos","events_url":"https://api.github.com/users/Pagebakers/events{/privacy}","received_events_url":"https://api.github.com/users/Pagebakers/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-31T13:47:54Z","updated_at":"2015-08-31T20:29:47Z","closed_at":"2015-08-31T20:16:48Z","pull_request":{"url":"https://api.github.com/repos/michalvalasek/meteor-autoform-bootstrap-colorpicker/pulls/1","html_url":"https://github.com/michalvalasek/meteor-autoform-bootstrap-colorpicker/pull/1","diff_url":"https://github.com/michalvalasek/meteor-autoform-bootstrap-colorpicker/pull/1.diff","patch_url":"https://github.com/michalvalasek/meteor-autoform-bootstrap-colorpicker/pull/1.patch"},"body":"This fixes the issue when `$input.colorpicker('destroy');` throws `Error: TypeError: Cannot read property 'destroy' of undefined` as soon as the AutoForm is destroyed."},"comment":{"url":"https://api.github.com/repos/michalvalasek/meteor-autoform-bootstrap-colorpicker/issues/comments/136490121","html_url":"https://github.com/michalvalasek/meteor-autoform-bootstrap-colorpicker/pull/1#issuecomment-136490121","issue_url":"https://api.github.com/repos/michalvalasek/meteor-autoform-bootstrap-colorpicker/issues/1","id":136490121,"user":{"login":"Pagebakers","id":32583,"avatar_url":"https://avatars.githubusercontent.com/u/32583?v=3","gravatar_id":"","url":"https://api.github.com/users/Pagebakers","html_url":"https://github.com/Pagebakers","followers_url":"https://api.github.com/users/Pagebakers/followers","following_url":"https://api.github.com/users/Pagebakers/following{/other_user}","gists_url":"https://api.github.com/users/Pagebakers/gists{/gist_id}","starred_url":"https://api.github.com/users/Pagebakers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pagebakers/subscriptions","organizations_url":"https://api.github.com/users/Pagebakers/orgs","repos_url":"https://api.github.com/users/Pagebakers/repos","events_url":"https://api.github.com/users/Pagebakers/events{/privacy}","received_events_url":"https://api.github.com/users/Pagebakers/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T20:29:47Z","updated_at":"2015-08-31T20:29:47Z","body":"Sweet!"}}