{"action":"created","comment":{"url":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/comments/56214260","id":56214260,"diff_hunk":"@@ -72,19 +72,20 @@\n       }\n \n       function triggerScrollEvent() {\n-        var scrollTop = scroller === window ? scroller.pageYOffset : scroller.scrollTop;\n+        var scrollTop = scroller === document.documentElement ? window.pageYOffset : scroller.scrollTop;\n         if (tests[0].y === scrollTop) {\n           // Scrolling to the same position won't trigger a scroll event,\n           // so just call the scroll event handler.\n           scrollEventHandler();\n         } else {\n-          if (scroller === window) scroller.scrollTo(0, tests[0].y);\n+          if (scroller === document.documentElement) window.scrollTo(0, tests[0].y);\n           else scroller.scrollTop = tests[0].y;\n         }\n       }\n \n       if (tests.length > 0) {\n-        scroller.addEventListener('scroll', scrollEventHandler);\n+        var scrollTarget = scroller === document.documentElement ? window : scroller;","path":"app-header/test/app-header.html","position":19,"original_position":19,"commit_id":"4da31b962dd5393f7a2639d69b5fb4499c9446d6","original_commit_id":"4da31b962dd5393f7a2639d69b5fb4499c9446d6","user":{"login":"blasten","id":1410613,"avatar_url":"https://avatars.githubusercontent.com/u/1410613?v=3","gravatar_id":"","url":"https://api.github.com/users/blasten","html_url":"https://github.com/blasten","followers_url":"https://api.github.com/users/blasten/followers","following_url":"https://api.github.com/users/blasten/following{/other_user}","gists_url":"https://api.github.com/users/blasten/gists{/gist_id}","starred_url":"https://api.github.com/users/blasten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blasten/subscriptions","organizations_url":"https://api.github.com/users/blasten/orgs","repos_url":"https://api.github.com/users/blasten/repos","events_url":"https://api.github.com/users/blasten/events{/privacy}","received_events_url":"https://api.github.com/users/blasten/received_events","type":"User","site_admin":false},"body":"right","created_at":"2016-03-15T18:19:58Z","updated_at":"2016-03-15T18:19:58Z","html_url":"https://github.com/PolymerLabs/app-layout/pull/115#discussion_r56214260","pull_request_url":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/115","_links":{"self":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/comments/56214260"},"html":{"href":"https://github.com/PolymerLabs/app-layout/pull/115#discussion_r56214260"},"pull_request":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/115"}}},"pull_request":{"url":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/115","id":62797255,"html_url":"https://github.com/PolymerLabs/app-layout/pull/115","diff_url":"https://github.com/PolymerLabs/app-layout/pull/115.diff","patch_url":"https://github.com/PolymerLabs/app-layout/pull/115.patch","issue_url":"https://api.github.com/repos/PolymerLabs/app-layout/issues/115","number":115,"state":"open","locked":false,"title":"Migrate to iron-scroll-target-behavior","user":{"login":"blasten","id":1410613,"avatar_url":"https://avatars.githubusercontent.com/u/1410613?v=3","gravatar_id":"","url":"https://api.github.com/users/blasten","html_url":"https://github.com/blasten","followers_url":"https://api.github.com/users/blasten/followers","following_url":"https://api.github.com/users/blasten/following{/other_user}","gists_url":"https://api.github.com/users/blasten/gists{/gist_id}","starred_url":"https://api.github.com/users/blasten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blasten/subscriptions","organizations_url":"https://api.github.com/users/blasten/orgs","repos_url":"https://api.github.com/users/blasten/repos","events_url":"https://api.github.com/users/blasten/events{/privacy}","received_events_url":"https://api.github.com/users/blasten/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/PolymerLabs/app-layout/issues/46, https://github.com/PolymerLabs/app-layout/issues/80","created_at":"2016-03-14T18:42:32Z","updated_at":"2016-03-15T18:19:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd3827d9baaeebc5bb4059287aca567a162b896e","assignee":{"login":"frankiefu","id":116360,"avatar_url":"https://avatars.githubusercontent.com/u/116360?v=3","gravatar_id":"","url":"https://api.github.com/users/frankiefu","html_url":"https://github.com/frankiefu","followers_url":"https://api.github.com/users/frankiefu/followers","following_url":"https://api.github.com/users/frankiefu/following{/other_user}","gists_url":"https://api.github.com/users/frankiefu/gists{/gist_id}","starred_url":"https://api.github.com/users/frankiefu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankiefu/subscriptions","organizations_url":"https://api.github.com/users/frankiefu/orgs","repos_url":"https://api.github.com/users/frankiefu/repos","events_url":"https://api.github.com/users/frankiefu/events{/privacy}","received_events_url":"https://api.github.com/users/frankiefu/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/115/commits","review_comments_url":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/115/comments","review_comment_url":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PolymerLabs/app-layout/issues/115/comments","statuses_url":"https://api.github.com/repos/PolymerLabs/app-layout/statuses/4da31b962dd5393f7a2639d69b5fb4499c9446d6","head":{"label":"PolymerLabs:iron-scroll-target","ref":"iron-scroll-target","sha":"4da31b962dd5393f7a2639d69b5fb4499c9446d6","user":{"login":"PolymerLabs","id":5912903,"avatar_url":"https://avatars.githubusercontent.com/u/5912903?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerLabs","html_url":"https://github.com/PolymerLabs","followers_url":"https://api.github.com/users/PolymerLabs/followers","following_url":"https://api.github.com/users/PolymerLabs/following{/other_user}","gists_url":"https://api.github.com/users/PolymerLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerLabs/subscriptions","organizations_url":"https://api.github.com/users/PolymerLabs/orgs","repos_url":"https://api.github.com/users/PolymerLabs/repos","events_url":"https://api.github.com/users/PolymerLabs/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":40323291,"name":"app-layout","full_name":"PolymerLabs/app-layout","owner":{"login":"PolymerLabs","id":5912903,"avatar_url":"https://avatars.githubusercontent.com/u/5912903?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerLabs","html_url":"https://github.com/PolymerLabs","followers_url":"https://api.github.com/users/PolymerLabs/followers","following_url":"https://api.github.com/users/PolymerLabs/following{/other_user}","gists_url":"https://api.github.com/users/PolymerLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerLabs/subscriptions","organizations_url":"https://api.github.com/users/PolymerLabs/orgs","repos_url":"https://api.github.com/users/PolymerLabs/repos","events_url":"https://api.github.com/users/PolymerLabs/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerLabs/app-layout","description":"App layout elements","fork":false,"url":"https://api.github.com/repos/PolymerLabs/app-layout","forks_url":"https://api.github.com/repos/PolymerLabs/app-layout/forks","keys_url":"https://api.github.com/repos/PolymerLabs/app-layout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerLabs/app-layout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerLabs/app-layout/teams","hooks_url":"https://api.github.com/repos/PolymerLabs/app-layout/hooks","issue_events_url":"https://api.github.com/repos/PolymerLabs/app-layout/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerLabs/app-layout/events","assignees_url":"https://api.github.com/repos/PolymerLabs/app-layout/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerLabs/app-layout/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerLabs/app-layout/tags","blobs_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerLabs/app-layout/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerLabs/app-layout/languages","stargazers_url":"https://api.github.com/repos/PolymerLabs/app-layout/stargazers","contributors_url":"https://api.github.com/repos/PolymerLabs/app-layout/contributors","subscribers_url":"https://api.github.com/repos/PolymerLabs/app-layout/subscribers","subscription_url":"https://api.github.com/repos/PolymerLabs/app-layout/subscription","commits_url":"https://api.github.com/repos/PolymerLabs/app-layout/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerLabs/app-layout/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerLabs/app-layout/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerLabs/app-layout/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerLabs/app-layout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerLabs/app-layout/merges","archive_url":"https://api.github.com/repos/PolymerLabs/app-layout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerLabs/app-layout/downloads","issues_url":"https://api.github.com/repos/PolymerLabs/app-layout/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerLabs/app-layout/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerLabs/app-layout/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerLabs/app-layout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerLabs/app-layout/labels{/name}","releases_url":"https://api.github.com/repos/PolymerLabs/app-layout/releases{/id}","deployments_url":"https://api.github.com/repos/PolymerLabs/app-layout/deployments","created_at":"2015-08-06T19:34:10Z","updated_at":"2016-03-15T08:27:30Z","pushed_at":"2016-03-15T18:18:51Z","git_url":"git://github.com/PolymerLabs/app-layout.git","ssh_url":"git@github.com:PolymerLabs/app-layout.git","clone_url":"https://github.com/PolymerLabs/app-layout.git","svn_url":"https://github.com/PolymerLabs/app-layout","homepage":"","size":40385,"stargazers_count":156,"watchers_count":156,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":43,"mirror_url":null,"open_issues_count":18,"forks":43,"open_issues":18,"watchers":156,"default_branch":"master"}},"base":{"label":"PolymerLabs:master","ref":"master","sha":"73a20921c19402e4b5dfa5813df5a20fd71c94a1","user":{"login":"PolymerLabs","id":5912903,"avatar_url":"https://avatars.githubusercontent.com/u/5912903?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerLabs","html_url":"https://github.com/PolymerLabs","followers_url":"https://api.github.com/users/PolymerLabs/followers","following_url":"https://api.github.com/users/PolymerLabs/following{/other_user}","gists_url":"https://api.github.com/users/PolymerLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerLabs/subscriptions","organizations_url":"https://api.github.com/users/PolymerLabs/orgs","repos_url":"https://api.github.com/users/PolymerLabs/repos","events_url":"https://api.github.com/users/PolymerLabs/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":40323291,"name":"app-layout","full_name":"PolymerLabs/app-layout","owner":{"login":"PolymerLabs","id":5912903,"avatar_url":"https://avatars.githubusercontent.com/u/5912903?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerLabs","html_url":"https://github.com/PolymerLabs","followers_url":"https://api.github.com/users/PolymerLabs/followers","following_url":"https://api.github.com/users/PolymerLabs/following{/other_user}","gists_url":"https://api.github.com/users/PolymerLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerLabs/subscriptions","organizations_url":"https://api.github.com/users/PolymerLabs/orgs","repos_url":"https://api.github.com/users/PolymerLabs/repos","events_url":"https://api.github.com/users/PolymerLabs/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerLabs/app-layout","description":"App layout elements","fork":false,"url":"https://api.github.com/repos/PolymerLabs/app-layout","forks_url":"https://api.github.com/repos/PolymerLabs/app-layout/forks","keys_url":"https://api.github.com/repos/PolymerLabs/app-layout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerLabs/app-layout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerLabs/app-layout/teams","hooks_url":"https://api.github.com/repos/PolymerLabs/app-layout/hooks","issue_events_url":"https://api.github.com/repos/PolymerLabs/app-layout/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerLabs/app-layout/events","assignees_url":"https://api.github.com/repos/PolymerLabs/app-layout/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerLabs/app-layout/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerLabs/app-layout/tags","blobs_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerLabs/app-layout/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerLabs/app-layout/languages","stargazers_url":"https://api.github.com/repos/PolymerLabs/app-layout/stargazers","contributors_url":"https://api.github.com/repos/PolymerLabs/app-layout/contributors","subscribers_url":"https://api.github.com/repos/PolymerLabs/app-layout/subscribers","subscription_url":"https://api.github.com/repos/PolymerLabs/app-layout/subscription","commits_url":"https://api.github.com/repos/PolymerLabs/app-layout/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerLabs/app-layout/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerLabs/app-layout/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerLabs/app-layout/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerLabs/app-layout/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerLabs/app-layout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerLabs/app-layout/merges","archive_url":"https://api.github.com/repos/PolymerLabs/app-layout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerLabs/app-layout/downloads","issues_url":"https://api.github.com/repos/PolymerLabs/app-layout/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerLabs/app-layout/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerLabs/app-layout/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerLabs/app-layout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerLabs/app-layout/labels{/name}","releases_url":"https://api.github.com/repos/PolymerLabs/app-layout/releases{/id}","deployments_url":"https://api.github.com/repos/PolymerLabs/app-layout/deployments","created_at":"2015-08-06T19:34:10Z","updated_at":"2016-03-15T08:27:30Z","pushed_at":"2016-03-15T18:18:51Z","git_url":"git://github.com/PolymerLabs/app-layout.git","ssh_url":"git@github.com:PolymerLabs/app-layout.git","clone_url":"https://github.com/PolymerLabs/app-layout.git","svn_url":"https://github.com/PolymerLabs/app-layout","homepage":"","size":40385,"stargazers_count":156,"watchers_count":156,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":43,"mirror_url":null,"open_issues_count":18,"forks":43,"open_issues":18,"watchers":156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/115"},"html":{"href":"https://github.com/PolymerLabs/app-layout/pull/115"},"issue":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/issues/115"},"comments":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/PolymerLabs/app-layout/statuses/4da31b962dd5393f7a2639d69b5fb4499c9446d6"}}}}