{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/dobarkod/cookie-banner/pulls/21","id":30940284,"html_url":"https://github.com/dobarkod/cookie-banner/pull/21","diff_url":"https://github.com/dobarkod/cookie-banner/pull/21.diff","patch_url":"https://github.com/dobarkod/cookie-banner/pull/21.patch","issue_url":"https://api.github.com/repos/dobarkod/cookie-banner/issues/21","number":21,"state":"closed","locked":false,"title":"Fix the (somewhat specific/rare) case of an exception being thrown when ...","user":{"login":"zytzagoo","id":46947,"avatar_url":"https://avatars.githubusercontent.com/u/46947?v=3","gravatar_id":"","url":"https://api.github.com/users/zytzagoo","html_url":"https://github.com/zytzagoo","followers_url":"https://api.github.com/users/zytzagoo/followers","following_url":"https://api.github.com/users/zytzagoo/following{/other_user}","gists_url":"https://api.github.com/users/zytzagoo/gists{/gist_id}","starred_url":"https://api.github.com/users/zytzagoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zytzagoo/subscriptions","organizations_url":"https://api.github.com/users/zytzagoo/orgs","repos_url":"https://api.github.com/users/zytzagoo/repos","events_url":"https://api.github.com/users/zytzagoo/events{/privacy}","received_events_url":"https://api.github.com/users/zytzagoo/received_events","type":"User","site_admin":false},"body":"...trying to close the banner by using a more robust approach for referencing the nodes that are removed.\r\n\r\nExceptions occur when our cookiebanner div (and/or mask) is moved within the DOM (for whatever reason) between being injected and being closed/removed.\r\n\r\nLegit reasons include certain jQuery plugins for mobile navigation or similar...","created_at":"2015-03-11T12:58:20Z","updated_at":"2015-03-11T18:46:56Z","closed_at":"2015-03-11T18:46:56Z","merged_at":"2015-03-11T18:46:56Z","merge_commit_sha":"f377902d10731f5ce7366aeaa315f281b022edf0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dobarkod/cookie-banner/pulls/21/commits","review_comments_url":"https://api.github.com/repos/dobarkod/cookie-banner/pulls/21/comments","review_comment_url":"https://api.github.com/repos/dobarkod/cookie-banner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dobarkod/cookie-banner/issues/21/comments","statuses_url":"https://api.github.com/repos/dobarkod/cookie-banner/statuses/fd073e4b12fcaa7ea715014f8f72a3466a2e8a04","head":{"label":"zytzagoo:node-removal-fix","ref":"node-removal-fix","sha":"fd073e4b12fcaa7ea715014f8f72a3466a2e8a04","user":{"login":"zytzagoo","id":46947,"avatar_url":"https://avatars.githubusercontent.com/u/46947?v=3","gravatar_id":"","url":"https://api.github.com/users/zytzagoo","html_url":"https://github.com/zytzagoo","followers_url":"https://api.github.com/users/zytzagoo/followers","following_url":"https://api.github.com/users/zytzagoo/following{/other_user}","gists_url":"https://api.github.com/users/zytzagoo/gists{/gist_id}","starred_url":"https://api.github.com/users/zytzagoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zytzagoo/subscriptions","organizations_url":"https://api.github.com/users/zytzagoo/orgs","repos_url":"https://api.github.com/users/zytzagoo/repos","events_url":"https://api.github.com/users/zytzagoo/events{/privacy}","received_events_url":"https://api.github.com/users/zytzagoo/received_events","type":"User","site_admin":false},"repo":{"id":12815746,"name":"cookie-banner","full_name":"zytzagoo/cookie-banner","owner":{"login":"zytzagoo","id":46947,"avatar_url":"https://avatars.githubusercontent.com/u/46947?v=3","gravatar_id":"","url":"https://api.github.com/users/zytzagoo","html_url":"https://github.com/zytzagoo","followers_url":"https://api.github.com/users/zytzagoo/followers","following_url":"https://api.github.com/users/zytzagoo/following{/other_user}","gists_url":"https://api.github.com/users/zytzagoo/gists{/gist_id}","starred_url":"https://api.github.com/users/zytzagoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zytzagoo/subscriptions","organizations_url":"https://api.github.com/users/zytzagoo/orgs","repos_url":"https://api.github.com/users/zytzagoo/repos","events_url":"https://api.github.com/users/zytzagoo/events{/privacy}","received_events_url":"https://api.github.com/users/zytzagoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zytzagoo/cookie-banner","description":"JavaScript based cookie-info banner for complying with EU cookie law","fork":true,"url":"https://api.github.com/repos/zytzagoo/cookie-banner","forks_url":"https://api.github.com/repos/zytzagoo/cookie-banner/forks","keys_url":"https://api.github.com/repos/zytzagoo/cookie-banner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zytzagoo/cookie-banner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zytzagoo/cookie-banner/teams","hooks_url":"https://api.github.com/repos/zytzagoo/cookie-banner/hooks","issue_events_url":"https://api.github.com/repos/zytzagoo/cookie-banner/issues/events{/number}","events_url":"https://api.github.com/repos/zytzagoo/cookie-banner/events","assignees_url":"https://api.github.com/repos/zytzagoo/cookie-banner/assignees{/user}","branches_url":"https://api.github.com/repos/zytzagoo/cookie-banner/branches{/branch}","tags_url":"https://api.github.com/repos/zytzagoo/cookie-banner/tags","blobs_url":"https://api.github.com/repos/zytzagoo/cookie-banner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zytzagoo/cookie-banner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zytzagoo/cookie-banner/git/refs{/sha}","trees_url":"https://api.github.com/repos/zytzagoo/cookie-banner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zytzagoo/cookie-banner/statuses/{sha}","languages_url":"https://api.github.com/repos/zytzagoo/cookie-banner/languages","stargazers_url":"https://api.github.com/repos/zytzagoo/cookie-banner/stargazers","contributors_url":"https://api.github.com/repos/zytzagoo/cookie-banner/contributors","subscribers_url":"https://api.github.com/repos/zytzagoo/cookie-banner/subscribers","subscription_url":"https://api.github.com/repos/zytzagoo/cookie-banner/subscription","commits_url":"https://api.github.com/repos/zytzagoo/cookie-banner/commits{/sha}","git_commits_url":"https://api.github.com/repos/zytzagoo/cookie-banner/git/commits{/sha}","comments_url":"https://api.github.com/repos/zytzagoo/cookie-banner/comments{/number}","issue_comment_url":"https://api.github.com/repos/zytzagoo/cookie-banner/issues/comments{/number}","contents_url":"https://api.github.com/repos/zytzagoo/cookie-banner/contents/{+path}","compare_url":"https://api.github.com/repos/zytzagoo/cookie-banner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zytzagoo/cookie-banner/merges","archive_url":"https://api.github.com/repos/zytzagoo/cookie-banner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zytzagoo/cookie-banner/downloads","issues_url":"https://api.github.com/repos/zytzagoo/cookie-banner/issues{/number}","pulls_url":"https://api.github.com/repos/zytzagoo/cookie-banner/pulls{/number}","milestones_url":"https://api.github.com/repos/zytzagoo/cookie-banner/milestones{/number}","notifications_url":"https://api.github.com/repos/zytzagoo/cookie-banner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zytzagoo/cookie-banner/labels{/name}","releases_url":"https://api.github.com/repos/zytzagoo/cookie-banner/releases{/id}","created_at":"2013-09-13T17:49:46Z","updated_at":"2014-09-08T12:55:51Z","pushed_at":"2015-03-11T12:56:54Z","git_url":"git://github.com/zytzagoo/cookie-banner.git","ssh_url":"git@github.com:zytzagoo/cookie-banner.git","clone_url":"https://github.com/zytzagoo/cookie-banner.git","svn_url":"https://github.com/zytzagoo/cookie-banner","homepage":null,"size":322,"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":"dobarkod:master","ref":"master","sha":"dfef7fd830748efcddd4bff46b767616b4c9e9c7","user":{"login":"dobarkod","id":2169146,"avatar_url":"https://avatars.githubusercontent.com/u/2169146?v=3","gravatar_id":"","url":"https://api.github.com/users/dobarkod","html_url":"https://github.com/dobarkod","followers_url":"https://api.github.com/users/dobarkod/followers","following_url":"https://api.github.com/users/dobarkod/following{/other_user}","gists_url":"https://api.github.com/users/dobarkod/gists{/gist_id}","starred_url":"https://api.github.com/users/dobarkod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobarkod/subscriptions","organizations_url":"https://api.github.com/users/dobarkod/orgs","repos_url":"https://api.github.com/users/dobarkod/repos","events_url":"https://api.github.com/users/dobarkod/events{/privacy}","received_events_url":"https://api.github.com/users/dobarkod/received_events","type":"Organization","site_admin":false},"repo":{"id":12601945,"name":"cookie-banner","full_name":"dobarkod/cookie-banner","owner":{"login":"dobarkod","id":2169146,"avatar_url":"https://avatars.githubusercontent.com/u/2169146?v=3","gravatar_id":"","url":"https://api.github.com/users/dobarkod","html_url":"https://github.com/dobarkod","followers_url":"https://api.github.com/users/dobarkod/followers","following_url":"https://api.github.com/users/dobarkod/following{/other_user}","gists_url":"https://api.github.com/users/dobarkod/gists{/gist_id}","starred_url":"https://api.github.com/users/dobarkod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobarkod/subscriptions","organizations_url":"https://api.github.com/users/dobarkod/orgs","repos_url":"https://api.github.com/users/dobarkod/repos","events_url":"https://api.github.com/users/dobarkod/events{/privacy}","received_events_url":"https://api.github.com/users/dobarkod/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dobarkod/cookie-banner","description":"JavaScript based cookie-info banner for complying with EU cookie law","fork":false,"url":"https://api.github.com/repos/dobarkod/cookie-banner","forks_url":"https://api.github.com/repos/dobarkod/cookie-banner/forks","keys_url":"https://api.github.com/repos/dobarkod/cookie-banner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dobarkod/cookie-banner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dobarkod/cookie-banner/teams","hooks_url":"https://api.github.com/repos/dobarkod/cookie-banner/hooks","issue_events_url":"https://api.github.com/repos/dobarkod/cookie-banner/issues/events{/number}","events_url":"https://api.github.com/repos/dobarkod/cookie-banner/events","assignees_url":"https://api.github.com/repos/dobarkod/cookie-banner/assignees{/user}","branches_url":"https://api.github.com/repos/dobarkod/cookie-banner/branches{/branch}","tags_url":"https://api.github.com/repos/dobarkod/cookie-banner/tags","blobs_url":"https://api.github.com/repos/dobarkod/cookie-banner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dobarkod/cookie-banner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dobarkod/cookie-banner/git/refs{/sha}","trees_url":"https://api.github.com/repos/dobarkod/cookie-banner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dobarkod/cookie-banner/statuses/{sha}","languages_url":"https://api.github.com/repos/dobarkod/cookie-banner/languages","stargazers_url":"https://api.github.com/repos/dobarkod/cookie-banner/stargazers","contributors_url":"https://api.github.com/repos/dobarkod/cookie-banner/contributors","subscribers_url":"https://api.github.com/repos/dobarkod/cookie-banner/subscribers","subscription_url":"https://api.github.com/repos/dobarkod/cookie-banner/subscription","commits_url":"https://api.github.com/repos/dobarkod/cookie-banner/commits{/sha}","git_commits_url":"https://api.github.com/repos/dobarkod/cookie-banner/git/commits{/sha}","comments_url":"https://api.github.com/repos/dobarkod/cookie-banner/comments{/number}","issue_comment_url":"https://api.github.com/repos/dobarkod/cookie-banner/issues/comments{/number}","contents_url":"https://api.github.com/repos/dobarkod/cookie-banner/contents/{+path}","compare_url":"https://api.github.com/repos/dobarkod/cookie-banner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dobarkod/cookie-banner/merges","archive_url":"https://api.github.com/repos/dobarkod/cookie-banner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dobarkod/cookie-banner/downloads","issues_url":"https://api.github.com/repos/dobarkod/cookie-banner/issues{/number}","pulls_url":"https://api.github.com/repos/dobarkod/cookie-banner/pulls{/number}","milestones_url":"https://api.github.com/repos/dobarkod/cookie-banner/milestones{/number}","notifications_url":"https://api.github.com/repos/dobarkod/cookie-banner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dobarkod/cookie-banner/labels{/name}","releases_url":"https://api.github.com/repos/dobarkod/cookie-banner/releases{/id}","created_at":"2013-09-04T20:57:17Z","updated_at":"2015-03-07T18:13:54Z","pushed_at":"2015-03-11T18:46:56Z","git_url":"git://github.com/dobarkod/cookie-banner.git","ssh_url":"git@github.com:dobarkod/cookie-banner.git","clone_url":"https://github.com/dobarkod/cookie-banner.git","svn_url":"https://github.com/dobarkod/cookie-banner","homepage":null,"size":390,"stargazers_count":64,"watchers_count":64,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":5,"forks":20,"open_issues":5,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dobarkod/cookie-banner/pulls/21"},"html":{"href":"https://github.com/dobarkod/cookie-banner/pull/21"},"issue":{"href":"https://api.github.com/repos/dobarkod/cookie-banner/issues/21"},"comments":{"href":"https://api.github.com/repos/dobarkod/cookie-banner/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/dobarkod/cookie-banner/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/dobarkod/cookie-banner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dobarkod/cookie-banner/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/dobarkod/cookie-banner/statuses/fd073e4b12fcaa7ea715014f8f72a3466a2e8a04"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"senko","id":3362,"avatar_url":"https://avatars.githubusercontent.com/u/3362?v=3","gravatar_id":"","url":"https://api.github.com/users/senko","html_url":"https://github.com/senko","followers_url":"https://api.github.com/users/senko/followers","following_url":"https://api.github.com/users/senko/following{/other_user}","gists_url":"https://api.github.com/users/senko/gists{/gist_id}","starred_url":"https://api.github.com/users/senko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senko/subscriptions","organizations_url":"https://api.github.com/users/senko/orgs","repos_url":"https://api.github.com/users/senko/repos","events_url":"https://api.github.com/users/senko/events{/privacy}","received_events_url":"https://api.github.com/users/senko/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}