{"action":"opened","number":62,"pull_request":{"url":"https://api.github.com/repos/trivago/melody/pulls/62","id":213009775,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMDA5Nzc1","html_url":"https://github.com/trivago/melody/pull/62","diff_url":"https://github.com/trivago/melody/pull/62.diff","patch_url":"https://github.com/trivago/melody/pull/62.patch","issue_url":"https://api.github.com/repos/trivago/melody/issues/62","number":62,"state":"open","locked":false,"title":"Fix getFocusedPath can break on IE11 for svg elements","user":{"login":"danielcaldas","id":11733994,"node_id":"MDQ6VXNlcjExNzMzOTk0","avatar_url":"https://avatars3.githubusercontent.com/u/11733994?v=4","gravatar_id":"","url":"https://api.github.com/users/danielcaldas","html_url":"https://github.com/danielcaldas","followers_url":"https://api.github.com/users/danielcaldas/followers","following_url":"https://api.github.com/users/danielcaldas/following{/other_user}","gists_url":"https://api.github.com/users/danielcaldas/gists{/gist_id}","starred_url":"https://api.github.com/users/danielcaldas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielcaldas/subscriptions","organizations_url":"https://api.github.com/users/danielcaldas/orgs","repos_url":"https://api.github.com/users/danielcaldas/repos","events_url":"https://api.github.com/users/danielcaldas/events{/privacy}","received_events_url":"https://api.github.com/users/danielcaldas/received_events","type":"User","site_admin":false},"body":"#### Reference issue: https://github.com/trivago/melody/issues/57\r\n\r\n#### What changed in this PR:\r\n* Add simple fallback behavior to `node.contains`.\r\n\r\nIn `melody-idom/src/dom_util.ts` a call to `node.contains` was wrapped in a function that contains a fallback implementation for cases where `Node.prototype.contains` is not defined. This was causing the breaking behavior in the method `getFocusedPath` mentioned in the issue.","created_at":"2018-09-04T15:05:34Z","updated_at":"2018-09-04T15:05:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/trivago/melody/pulls/62/commits","review_comments_url":"https://api.github.com/repos/trivago/melody/pulls/62/comments","review_comment_url":"https://api.github.com/repos/trivago/melody/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trivago/melody/issues/62/comments","statuses_url":"https://api.github.com/repos/trivago/melody/statuses/9c9b5eca8056ef4d40dbbcd205a8f6f8e8921a5b","head":{"label":"danielcaldas:fix/melody-idom-node-contains","ref":"fix/melody-idom-node-contains","sha":"9c9b5eca8056ef4d40dbbcd205a8f6f8e8921a5b","user":{"login":"danielcaldas","id":11733994,"node_id":"MDQ6VXNlcjExNzMzOTk0","avatar_url":"https://avatars3.githubusercontent.com/u/11733994?v=4","gravatar_id":"","url":"https://api.github.com/users/danielcaldas","html_url":"https://github.com/danielcaldas","followers_url":"https://api.github.com/users/danielcaldas/followers","following_url":"https://api.github.com/users/danielcaldas/following{/other_user}","gists_url":"https://api.github.com/users/danielcaldas/gists{/gist_id}","starred_url":"https://api.github.com/users/danielcaldas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielcaldas/subscriptions","organizations_url":"https://api.github.com/users/danielcaldas/orgs","repos_url":"https://api.github.com/users/danielcaldas/repos","events_url":"https://api.github.com/users/danielcaldas/events{/privacy}","received_events_url":"https://api.github.com/users/danielcaldas/received_events","type":"User","site_admin":false},"repo":{"id":147360840,"node_id":"MDEwOlJlcG9zaXRvcnkxNDczNjA4NDA=","name":"melody","full_name":"danielcaldas/melody","owner":{"login":"danielcaldas","id":11733994,"node_id":"MDQ6VXNlcjExNzMzOTk0","avatar_url":"https://avatars3.githubusercontent.com/u/11733994?v=4","gravatar_id":"","url":"https://api.github.com/users/danielcaldas","html_url":"https://github.com/danielcaldas","followers_url":"https://api.github.com/users/danielcaldas/followers","following_url":"https://api.github.com/users/danielcaldas/following{/other_user}","gists_url":"https://api.github.com/users/danielcaldas/gists{/gist_id}","starred_url":"https://api.github.com/users/danielcaldas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielcaldas/subscriptions","organizations_url":"https://api.github.com/users/danielcaldas/orgs","repos_url":"https://api.github.com/users/danielcaldas/repos","events_url":"https://api.github.com/users/danielcaldas/events{/privacy}","received_events_url":"https://api.github.com/users/danielcaldas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielcaldas/melody","description":"Melody is a library for building JavaScript web applications.","fork":true,"url":"https://api.github.com/repos/danielcaldas/melody","forks_url":"https://api.github.com/repos/danielcaldas/melody/forks","keys_url":"https://api.github.com/repos/danielcaldas/melody/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielcaldas/melody/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielcaldas/melody/teams","hooks_url":"https://api.github.com/repos/danielcaldas/melody/hooks","issue_events_url":"https://api.github.com/repos/danielcaldas/melody/issues/events{/number}","events_url":"https://api.github.com/repos/danielcaldas/melody/events","assignees_url":"https://api.github.com/repos/danielcaldas/melody/assignees{/user}","branches_url":"https://api.github.com/repos/danielcaldas/melody/branches{/branch}","tags_url":"https://api.github.com/repos/danielcaldas/melody/tags","blobs_url":"https://api.github.com/repos/danielcaldas/melody/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielcaldas/melody/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielcaldas/melody/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielcaldas/melody/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielcaldas/melody/statuses/{sha}","languages_url":"https://api.github.com/repos/danielcaldas/melody/languages","stargazers_url":"https://api.github.com/repos/danielcaldas/melody/stargazers","contributors_url":"https://api.github.com/repos/danielcaldas/melody/contributors","subscribers_url":"https://api.github.com/repos/danielcaldas/melody/subscribers","subscription_url":"https://api.github.com/repos/danielcaldas/melody/subscription","commits_url":"https://api.github.com/repos/danielcaldas/melody/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielcaldas/melody/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielcaldas/melody/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielcaldas/melody/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielcaldas/melody/contents/{+path}","compare_url":"https://api.github.com/repos/danielcaldas/melody/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielcaldas/melody/merges","archive_url":"https://api.github.com/repos/danielcaldas/melody/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielcaldas/melody/downloads","issues_url":"https://api.github.com/repos/danielcaldas/melody/issues{/number}","pulls_url":"https://api.github.com/repos/danielcaldas/melody/pulls{/number}","milestones_url":"https://api.github.com/repos/danielcaldas/melody/milestones{/number}","notifications_url":"https://api.github.com/repos/danielcaldas/melody/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielcaldas/melody/labels{/name}","releases_url":"https://api.github.com/repos/danielcaldas/melody/releases{/id}","deployments_url":"https://api.github.com/repos/danielcaldas/melody/deployments","created_at":"2018-09-04T14:39:43Z","updated_at":"2018-09-04T14:39:45Z","pushed_at":"2018-09-04T15:04:09Z","git_url":"git://github.com/danielcaldas/melody.git","ssh_url":"git@github.com:danielcaldas/melody.git","clone_url":"https://github.com/danielcaldas/melody.git","svn_url":"https://github.com/danielcaldas/melody","homepage":"https://melody.js.org","size":423,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"trivago:master","ref":"master","sha":"8de8d2bd8302e510be6148e74fbedeb56a7e211e","user":{"login":"trivago","id":1481788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODE3ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1481788?v=4","gravatar_id":"","url":"https://api.github.com/users/trivago","html_url":"https://github.com/trivago","followers_url":"https://api.github.com/users/trivago/followers","following_url":"https://api.github.com/users/trivago/following{/other_user}","gists_url":"https://api.github.com/users/trivago/gists{/gist_id}","starred_url":"https://api.github.com/users/trivago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trivago/subscriptions","organizations_url":"https://api.github.com/users/trivago/orgs","repos_url":"https://api.github.com/users/trivago/repos","events_url":"https://api.github.com/users/trivago/events{/privacy}","received_events_url":"https://api.github.com/users/trivago/received_events","type":"Organization","site_admin":false},"repo":{"id":107542710,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc1NDI3MTA=","name":"melody","full_name":"trivago/melody","owner":{"login":"trivago","id":1481788,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODE3ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/1481788?v=4","gravatar_id":"","url":"https://api.github.com/users/trivago","html_url":"https://github.com/trivago","followers_url":"https://api.github.com/users/trivago/followers","following_url":"https://api.github.com/users/trivago/following{/other_user}","gists_url":"https://api.github.com/users/trivago/gists{/gist_id}","starred_url":"https://api.github.com/users/trivago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trivago/subscriptions","organizations_url":"https://api.github.com/users/trivago/orgs","repos_url":"https://api.github.com/users/trivago/repos","events_url":"https://api.github.com/users/trivago/events{/privacy}","received_events_url":"https://api.github.com/users/trivago/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trivago/melody","description":"Melody is a library for building JavaScript web applications.","fork":false,"url":"https://api.github.com/repos/trivago/melody","forks_url":"https://api.github.com/repos/trivago/melody/forks","keys_url":"https://api.github.com/repos/trivago/melody/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trivago/melody/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trivago/melody/teams","hooks_url":"https://api.github.com/repos/trivago/melody/hooks","issue_events_url":"https://api.github.com/repos/trivago/melody/issues/events{/number}","events_url":"https://api.github.com/repos/trivago/melody/events","assignees_url":"https://api.github.com/repos/trivago/melody/assignees{/user}","branches_url":"https://api.github.com/repos/trivago/melody/branches{/branch}","tags_url":"https://api.github.com/repos/trivago/melody/tags","blobs_url":"https://api.github.com/repos/trivago/melody/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trivago/melody/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trivago/melody/git/refs{/sha}","trees_url":"https://api.github.com/repos/trivago/melody/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trivago/melody/statuses/{sha}","languages_url":"https://api.github.com/repos/trivago/melody/languages","stargazers_url":"https://api.github.com/repos/trivago/melody/stargazers","contributors_url":"https://api.github.com/repos/trivago/melody/contributors","subscribers_url":"https://api.github.com/repos/trivago/melody/subscribers","subscription_url":"https://api.github.com/repos/trivago/melody/subscription","commits_url":"https://api.github.com/repos/trivago/melody/commits{/sha}","git_commits_url":"https://api.github.com/repos/trivago/melody/git/commits{/sha}","comments_url":"https://api.github.com/repos/trivago/melody/comments{/number}","issue_comment_url":"https://api.github.com/repos/trivago/melody/issues/comments{/number}","contents_url":"https://api.github.com/repos/trivago/melody/contents/{+path}","compare_url":"https://api.github.com/repos/trivago/melody/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trivago/melody/merges","archive_url":"https://api.github.com/repos/trivago/melody/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trivago/melody/downloads","issues_url":"https://api.github.com/repos/trivago/melody/issues{/number}","pulls_url":"https://api.github.com/repos/trivago/melody/pulls{/number}","milestones_url":"https://api.github.com/repos/trivago/melody/milestones{/number}","notifications_url":"https://api.github.com/repos/trivago/melody/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trivago/melody/labels{/name}","releases_url":"https://api.github.com/repos/trivago/melody/releases{/id}","deployments_url":"https://api.github.com/repos/trivago/melody/deployments","created_at":"2017-10-19T12:23:52Z","updated_at":"2018-08-30T13:51:39Z","pushed_at":"2018-09-04T12:44:00Z","git_url":"git://github.com/trivago/melody.git","ssh_url":"git@github.com:trivago/melody.git","clone_url":"https://github.com/trivago/melody.git","svn_url":"https://github.com/trivago/melody","homepage":"https://melody.js.org","size":423,"stargazers_count":76,"watchers_count":76,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":13,"open_issues":13,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trivago/melody/pulls/62"},"html":{"href":"https://github.com/trivago/melody/pull/62"},"issue":{"href":"https://api.github.com/repos/trivago/melody/issues/62"},"comments":{"href":"https://api.github.com/repos/trivago/melody/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/trivago/melody/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/trivago/melody/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trivago/melody/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/trivago/melody/statuses/9c9b5eca8056ef4d40dbbcd205a8f6f8e8921a5b"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":40,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"danielcaldas"}}