{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls/37","id":28762552,"html_url":"https://github.com/TylerGarlick/angular-redactor/pull/37","diff_url":"https://github.com/TylerGarlick/angular-redactor/pull/37.diff","patch_url":"https://github.com/TylerGarlick/angular-redactor/pull/37.patch","issue_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/issues/37","number":37,"state":"closed","locked":false,"title":"redactor not being destroyed properly","user":{"login":"frenkelor","id":5159504,"avatar_url":"https://avatars.githubusercontent.com/u/5159504?v=3","gravatar_id":"","url":"https://api.github.com/users/frenkelor","html_url":"https://github.com/frenkelor","followers_url":"https://api.github.com/users/frenkelor/followers","following_url":"https://api.github.com/users/frenkelor/following{/other_user}","gists_url":"https://api.github.com/users/frenkelor/gists{/gist_id}","starred_url":"https://api.github.com/users/frenkelor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenkelor/subscriptions","organizations_url":"https://api.github.com/users/frenkelor/orgs","repos_url":"https://api.github.com/users/frenkelor/repos","events_url":"https://api.github.com/users/frenkelor/events{/privacy}","received_events_url":"https://api.github.com/users/frenkelor/received_events","type":"User","site_admin":false},"body":"$timeout(function() {\r\n                        editor = $_element.redactor(options);\r\n                        ngModel.$render();\r\n                        element.on('remove',function(){\r\n                            element.off('remove');\r\n                            element.redactor('core.destroy');\r\n                        });\r\n                    });","created_at":"2015-02-05T21:22:03Z","updated_at":"2015-06-12T10:39:44Z","closed_at":"2015-06-12T10:39:44Z","merged_at":"2015-06-12T10:39:44Z","merge_commit_sha":"e99f21b95f5fa6871b7ef2a81d8ca9a391b6cce6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls/37/commits","review_comments_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls/37/comments","review_comment_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/issues/37/comments","statuses_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/statuses/ead8dc4f4681a5fc9952f030c8c3d9f92e167c7c","head":{"label":"frenkelor:patch-1","ref":"patch-1","sha":"ead8dc4f4681a5fc9952f030c8c3d9f92e167c7c","user":{"login":"frenkelor","id":5159504,"avatar_url":"https://avatars.githubusercontent.com/u/5159504?v=3","gravatar_id":"","url":"https://api.github.com/users/frenkelor","html_url":"https://github.com/frenkelor","followers_url":"https://api.github.com/users/frenkelor/followers","following_url":"https://api.github.com/users/frenkelor/following{/other_user}","gists_url":"https://api.github.com/users/frenkelor/gists{/gist_id}","starred_url":"https://api.github.com/users/frenkelor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenkelor/subscriptions","organizations_url":"https://api.github.com/users/frenkelor/orgs","repos_url":"https://api.github.com/users/frenkelor/repos","events_url":"https://api.github.com/users/frenkelor/events{/privacy}","received_events_url":"https://api.github.com/users/frenkelor/received_events","type":"User","site_admin":false},"repo":{"id":30378877,"name":"angular-redactor","full_name":"frenkelor/angular-redactor","owner":{"login":"frenkelor","id":5159504,"avatar_url":"https://avatars.githubusercontent.com/u/5159504?v=3","gravatar_id":"","url":"https://api.github.com/users/frenkelor","html_url":"https://github.com/frenkelor","followers_url":"https://api.github.com/users/frenkelor/followers","following_url":"https://api.github.com/users/frenkelor/following{/other_user}","gists_url":"https://api.github.com/users/frenkelor/gists{/gist_id}","starred_url":"https://api.github.com/users/frenkelor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenkelor/subscriptions","organizations_url":"https://api.github.com/users/frenkelor/orgs","repos_url":"https://api.github.com/users/frenkelor/repos","events_url":"https://api.github.com/users/frenkelor/events{/privacy}","received_events_url":"https://api.github.com/users/frenkelor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frenkelor/angular-redactor","description":"Redactor WYSIWYG directives for redactor editor","fork":true,"url":"https://api.github.com/repos/frenkelor/angular-redactor","forks_url":"https://api.github.com/repos/frenkelor/angular-redactor/forks","keys_url":"https://api.github.com/repos/frenkelor/angular-redactor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frenkelor/angular-redactor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frenkelor/angular-redactor/teams","hooks_url":"https://api.github.com/repos/frenkelor/angular-redactor/hooks","issue_events_url":"https://api.github.com/repos/frenkelor/angular-redactor/issues/events{/number}","events_url":"https://api.github.com/repos/frenkelor/angular-redactor/events","assignees_url":"https://api.github.com/repos/frenkelor/angular-redactor/assignees{/user}","branches_url":"https://api.github.com/repos/frenkelor/angular-redactor/branches{/branch}","tags_url":"https://api.github.com/repos/frenkelor/angular-redactor/tags","blobs_url":"https://api.github.com/repos/frenkelor/angular-redactor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frenkelor/angular-redactor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frenkelor/angular-redactor/git/refs{/sha}","trees_url":"https://api.github.com/repos/frenkelor/angular-redactor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frenkelor/angular-redactor/statuses/{sha}","languages_url":"https://api.github.com/repos/frenkelor/angular-redactor/languages","stargazers_url":"https://api.github.com/repos/frenkelor/angular-redactor/stargazers","contributors_url":"https://api.github.com/repos/frenkelor/angular-redactor/contributors","subscribers_url":"https://api.github.com/repos/frenkelor/angular-redactor/subscribers","subscription_url":"https://api.github.com/repos/frenkelor/angular-redactor/subscription","commits_url":"https://api.github.com/repos/frenkelor/angular-redactor/commits{/sha}","git_commits_url":"https://api.github.com/repos/frenkelor/angular-redactor/git/commits{/sha}","comments_url":"https://api.github.com/repos/frenkelor/angular-redactor/comments{/number}","issue_comment_url":"https://api.github.com/repos/frenkelor/angular-redactor/issues/comments{/number}","contents_url":"https://api.github.com/repos/frenkelor/angular-redactor/contents/{+path}","compare_url":"https://api.github.com/repos/frenkelor/angular-redactor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frenkelor/angular-redactor/merges","archive_url":"https://api.github.com/repos/frenkelor/angular-redactor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frenkelor/angular-redactor/downloads","issues_url":"https://api.github.com/repos/frenkelor/angular-redactor/issues{/number}","pulls_url":"https://api.github.com/repos/frenkelor/angular-redactor/pulls{/number}","milestones_url":"https://api.github.com/repos/frenkelor/angular-redactor/milestones{/number}","notifications_url":"https://api.github.com/repos/frenkelor/angular-redactor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frenkelor/angular-redactor/labels{/name}","releases_url":"https://api.github.com/repos/frenkelor/angular-redactor/releases{/id}","created_at":"2015-02-05T21:16:50Z","updated_at":"2015-02-05T21:16:50Z","pushed_at":"2015-02-05T21:21:42Z","git_url":"git://github.com/frenkelor/angular-redactor.git","ssh_url":"git@github.com:frenkelor/angular-redactor.git","clone_url":"https://github.com/frenkelor/angular-redactor.git","svn_url":"https://github.com/frenkelor/angular-redactor","homepage":null,"size":292,"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":"TylerGarlick:master","ref":"master","sha":"d794a82fd5f55f5540a2a380c2318ecc5830fdb9","user":{"login":"TylerGarlick","id":136096,"avatar_url":"https://avatars.githubusercontent.com/u/136096?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerGarlick","html_url":"https://github.com/TylerGarlick","followers_url":"https://api.github.com/users/TylerGarlick/followers","following_url":"https://api.github.com/users/TylerGarlick/following{/other_user}","gists_url":"https://api.github.com/users/TylerGarlick/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerGarlick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerGarlick/subscriptions","organizations_url":"https://api.github.com/users/TylerGarlick/orgs","repos_url":"https://api.github.com/users/TylerGarlick/repos","events_url":"https://api.github.com/users/TylerGarlick/events{/privacy}","received_events_url":"https://api.github.com/users/TylerGarlick/received_events","type":"User","site_admin":false},"repo":{"id":12619077,"name":"angular-redactor","full_name":"TylerGarlick/angular-redactor","owner":{"login":"TylerGarlick","id":136096,"avatar_url":"https://avatars.githubusercontent.com/u/136096?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerGarlick","html_url":"https://github.com/TylerGarlick","followers_url":"https://api.github.com/users/TylerGarlick/followers","following_url":"https://api.github.com/users/TylerGarlick/following{/other_user}","gists_url":"https://api.github.com/users/TylerGarlick/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerGarlick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerGarlick/subscriptions","organizations_url":"https://api.github.com/users/TylerGarlick/orgs","repos_url":"https://api.github.com/users/TylerGarlick/repos","events_url":"https://api.github.com/users/TylerGarlick/events{/privacy}","received_events_url":"https://api.github.com/users/TylerGarlick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TylerGarlick/angular-redactor","description":"Redactor WYSIWYG directives for redactor editor","fork":false,"url":"https://api.github.com/repos/TylerGarlick/angular-redactor","forks_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/forks","keys_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/teams","hooks_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/hooks","issue_events_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/issues/events{/number}","events_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/events","assignees_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/assignees{/user}","branches_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/branches{/branch}","tags_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/tags","blobs_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/git/refs{/sha}","trees_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/statuses/{sha}","languages_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/languages","stargazers_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/stargazers","contributors_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/contributors","subscribers_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/subscribers","subscription_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/subscription","commits_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/commits{/sha}","git_commits_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/git/commits{/sha}","comments_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/comments{/number}","issue_comment_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/issues/comments{/number}","contents_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/contents/{+path}","compare_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/merges","archive_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/downloads","issues_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/issues{/number}","pulls_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls{/number}","milestones_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/milestones{/number}","notifications_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/labels{/name}","releases_url":"https://api.github.com/repos/TylerGarlick/angular-redactor/releases{/id}","created_at":"2013-09-05T14:02:39Z","updated_at":"2015-06-03T00:42:42Z","pushed_at":"2015-06-12T10:39:44Z","git_url":"git://github.com/TylerGarlick/angular-redactor.git","ssh_url":"git@github.com:TylerGarlick/angular-redactor.git","clone_url":"https://github.com/TylerGarlick/angular-redactor.git","svn_url":"https://github.com/TylerGarlick/angular-redactor","homepage":null,"size":704,"stargazers_count":157,"watchers_count":157,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":12,"forks":55,"open_issues":12,"watchers":157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls/37"},"html":{"href":"https://github.com/TylerGarlick/angular-redactor/pull/37"},"issue":{"href":"https://api.github.com/repos/TylerGarlick/angular-redactor/issues/37"},"comments":{"href":"https://api.github.com/repos/TylerGarlick/angular-redactor/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TylerGarlick/angular-redactor/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/TylerGarlick/angular-redactor/statuses/ead8dc4f4681a5fc9952f030c8c3d9f92e167c7c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"TylerGarlick","id":136096,"avatar_url":"https://avatars.githubusercontent.com/u/136096?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerGarlick","html_url":"https://github.com/TylerGarlick","followers_url":"https://api.github.com/users/TylerGarlick/followers","following_url":"https://api.github.com/users/TylerGarlick/following{/other_user}","gists_url":"https://api.github.com/users/TylerGarlick/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerGarlick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerGarlick/subscriptions","organizations_url":"https://api.github.com/users/TylerGarlick/orgs","repos_url":"https://api.github.com/users/TylerGarlick/repos","events_url":"https://api.github.com/users/TylerGarlick/events{/privacy}","received_events_url":"https://api.github.com/users/TylerGarlick/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}