{"action":"created","comment":{"url":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/comments/36862147","id":36862147,"diff_hunk":"@@ -0,0 +1,45 @@\n+@TestOn('browser')\n+library polymer_elements.neon_animated_pages_test;\n+\n+import 'package:polymer_interop/polymer_interop.dart';\n+import 'package:polymer_elements/neon_animated_pages.dart';\n+import 'package:test/test.dart';\n+import 'package:web_components/web_components.dart';\n+import 'common.dart';\n+import 'dart:html';\n+\n+main() async {\n+\n+  await initWebComponents();\n+\n+  group('<neon-animated-pages>', () {\n+\n+    group('basic',(){});\n+\n+    group('notify-resize',(){\n+\n+      test('only a destination page receives a resize event',() async {\n+        NeonAnimatedPages animatedPages = fixture('notify-resize');\n+        List<Element> resizables = Polymer.dom(animatedPages).children;\n+        Map receives = {};\n+        resizables.forEach((Element page){\n+          page.addEventListener('iron-resize',(Event event){","path":"test/neon_animated_pages_test.dart","position":26,"original_position":26,"commit_id":"57b2d5584151592e8b41d463891c597c4b90f0de","original_commit_id":"57b2d5584151592e8b41d463891c597c4b90f0de","user":{"login":"jakemac53","id":984921,"avatar_url":"https://avatars.githubusercontent.com/u/984921?v=3","gravatar_id":"","url":"https://api.github.com/users/jakemac53","html_url":"https://github.com/jakemac53","followers_url":"https://api.github.com/users/jakemac53/followers","following_url":"https://api.github.com/users/jakemac53/following{/other_user}","gists_url":"https://api.github.com/users/jakemac53/gists{/gist_id}","starred_url":"https://api.github.com/users/jakemac53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakemac53/subscriptions","organizations_url":"https://api.github.com/users/jakemac53/orgs","repos_url":"https://api.github.com/users/jakemac53/repos","events_url":"https://api.github.com/users/jakemac53/events{/privacy}","received_events_url":"https://api.github.com/users/jakemac53/received_events","type":"User","site_admin":false},"body":"I have been changing these over to the `on` syntax (`page.on['iron-resize'].listen((Event event) {`), but its not entirely necessary. Mostly I do that so I can use `.take('1')` to automatically cancel the listener, but in this case that is less useful since you actually want to keep listening to make sure you don't get more calls than usual.","created_at":"2015-08-12T13:59:00Z","updated_at":"2015-08-12T13:59:00Z","html_url":"https://github.com/dart-lang/polymer_elements/pull/22#discussion_r36862147","pull_request_url":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/comments/36862147"},"html":{"href":"https://github.com/dart-lang/polymer_elements/pull/22#discussion_r36862147"},"pull_request":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/22","id":42193150,"html_url":"https://github.com/dart-lang/polymer_elements/pull/22","diff_url":"https://github.com/dart-lang/polymer_elements/pull/22.diff","patch_url":"https://github.com/dart-lang/polymer_elements/pull/22.patch","issue_url":"https://api.github.com/repos/dart-lang/polymer_elements/issues/22","number":22,"state":"open","locked":false,"title":"Neon tests","user":{"login":"ErikGrimes","id":1533326,"avatar_url":"https://avatars.githubusercontent.com/u/1533326?v=3","gravatar_id":"","url":"https://api.github.com/users/ErikGrimes","html_url":"https://github.com/ErikGrimes","followers_url":"https://api.github.com/users/ErikGrimes/followers","following_url":"https://api.github.com/users/ErikGrimes/following{/other_user}","gists_url":"https://api.github.com/users/ErikGrimes/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikGrimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikGrimes/subscriptions","organizations_url":"https://api.github.com/users/ErikGrimes/orgs","repos_url":"https://api.github.com/users/ErikGrimes/repos","events_url":"https://api.github.com/users/ErikGrimes/events{/privacy}","received_events_url":"https://api.github.com/users/ErikGrimes/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-12T00:21:23Z","updated_at":"2015-08-12T13:59:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd53be11603ecef56852cee72039ca872d6ceaf4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/22/commits","review_comments_url":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/22/comments","review_comment_url":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-lang/polymer_elements/issues/22/comments","statuses_url":"https://api.github.com/repos/dart-lang/polymer_elements/statuses/57b2d5584151592e8b41d463891c597c4b90f0de","head":{"label":"ErikGrimes:master","ref":"master","sha":"57b2d5584151592e8b41d463891c597c4b90f0de","user":{"login":"ErikGrimes","id":1533326,"avatar_url":"https://avatars.githubusercontent.com/u/1533326?v=3","gravatar_id":"","url":"https://api.github.com/users/ErikGrimes","html_url":"https://github.com/ErikGrimes","followers_url":"https://api.github.com/users/ErikGrimes/followers","following_url":"https://api.github.com/users/ErikGrimes/following{/other_user}","gists_url":"https://api.github.com/users/ErikGrimes/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikGrimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikGrimes/subscriptions","organizations_url":"https://api.github.com/users/ErikGrimes/orgs","repos_url":"https://api.github.com/users/ErikGrimes/repos","events_url":"https://api.github.com/users/ErikGrimes/events{/privacy}","received_events_url":"https://api.github.com/users/ErikGrimes/received_events","type":"User","site_admin":false},"repo":{"id":40440458,"name":"polymer_elements","full_name":"ErikGrimes/polymer_elements","owner":{"login":"ErikGrimes","id":1533326,"avatar_url":"https://avatars.githubusercontent.com/u/1533326?v=3","gravatar_id":"","url":"https://api.github.com/users/ErikGrimes","html_url":"https://github.com/ErikGrimes","followers_url":"https://api.github.com/users/ErikGrimes/followers","following_url":"https://api.github.com/users/ErikGrimes/following{/other_user}","gists_url":"https://api.github.com/users/ErikGrimes/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikGrimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikGrimes/subscriptions","organizations_url":"https://api.github.com/users/ErikGrimes/orgs","repos_url":"https://api.github.com/users/ErikGrimes/repos","events_url":"https://api.github.com/users/ErikGrimes/events{/privacy}","received_events_url":"https://api.github.com/users/ErikGrimes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ErikGrimes/polymer_elements","description":"","fork":true,"url":"https://api.github.com/repos/ErikGrimes/polymer_elements","forks_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/forks","keys_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/teams","hooks_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/hooks","issue_events_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/issues/events{/number}","events_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/events","assignees_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/assignees{/user}","branches_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/branches{/branch}","tags_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/tags","blobs_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/git/refs{/sha}","trees_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/statuses/{sha}","languages_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/languages","stargazers_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/stargazers","contributors_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/contributors","subscribers_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/subscribers","subscription_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/subscription","commits_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/commits{/sha}","git_commits_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/git/commits{/sha}","comments_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/comments{/number}","issue_comment_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/issues/comments{/number}","contents_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/contents/{+path}","compare_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/merges","archive_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/downloads","issues_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/issues{/number}","pulls_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/pulls{/number}","milestones_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/milestones{/number}","notifications_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/labels{/name}","releases_url":"https://api.github.com/repos/ErikGrimes/polymer_elements/releases{/id}","created_at":"2015-08-09T15:13:44Z","updated_at":"2015-08-09T15:13:46Z","pushed_at":"2015-08-12T00:19:19Z","git_url":"git://github.com/ErikGrimes/polymer_elements.git","ssh_url":"git@github.com:ErikGrimes/polymer_elements.git","clone_url":"https://github.com/ErikGrimes/polymer_elements.git","svn_url":"https://github.com/ErikGrimes/polymer_elements","homepage":null,"size":0,"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":"dart-lang:master","ref":"master","sha":"23c326a16bdce2aa3b0fbb42a6db7d76eb086460","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":40261353,"name":"polymer_elements","full_name":"dart-lang/polymer_elements","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/polymer_elements","description":"","fork":false,"url":"https://api.github.com/repos/dart-lang/polymer_elements","forks_url":"https://api.github.com/repos/dart-lang/polymer_elements/forks","keys_url":"https://api.github.com/repos/dart-lang/polymer_elements/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/polymer_elements/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/polymer_elements/teams","hooks_url":"https://api.github.com/repos/dart-lang/polymer_elements/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/polymer_elements/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/polymer_elements/events","assignees_url":"https://api.github.com/repos/dart-lang/polymer_elements/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/polymer_elements/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/polymer_elements/tags","blobs_url":"https://api.github.com/repos/dart-lang/polymer_elements/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/polymer_elements/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/polymer_elements/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/polymer_elements/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/polymer_elements/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/polymer_elements/languages","stargazers_url":"https://api.github.com/repos/dart-lang/polymer_elements/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/polymer_elements/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/polymer_elements/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/polymer_elements/subscription","commits_url":"https://api.github.com/repos/dart-lang/polymer_elements/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/polymer_elements/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/polymer_elements/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/polymer_elements/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/polymer_elements/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/polymer_elements/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/polymer_elements/merges","archive_url":"https://api.github.com/repos/dart-lang/polymer_elements/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/polymer_elements/downloads","issues_url":"https://api.github.com/repos/dart-lang/polymer_elements/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/polymer_elements/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/polymer_elements/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/polymer_elements/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/polymer_elements/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/polymer_elements/releases{/id}","created_at":"2015-08-05T18:11:50Z","updated_at":"2015-08-12T11:12:38Z","pushed_at":"2015-08-12T11:10:46Z","git_url":"git://github.com/dart-lang/polymer_elements.git","ssh_url":"git@github.com:dart-lang/polymer_elements.git","clone_url":"https://github.com/dart-lang/polymer_elements.git","svn_url":"https://github.com/dart-lang/polymer_elements","homepage":null,"size":0,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":14,"forks":4,"open_issues":14,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/22"},"html":{"href":"https://github.com/dart-lang/polymer_elements/pull/22"},"issue":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/issues/22"},"comments":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/dart-lang/polymer_elements/statuses/57b2d5584151592e8b41d463891c597c4b90f0de"}}}}