{"action":"created","comment":{"url":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/comments/42907754","id":42907754,"diff_hunk":"@@ -54,6 +54,25 @@\n             spinner.active = false;\n             expect(spinner.getAttribute('aria-hidden')).to.be.eql('true');\n           });\n+\n+          test('toggle during cooldown', function(done) {\n+            spinner.active = true;\n+\n+            window.requestAnimationFrame(function() {\n+              spinner.active = false;\n+\n+              // Set active to true before cooldown animation completes.\n+              window.setTimeout(function() {","path":"test/paper-spinner.html","position":12,"original_position":12,"commit_id":"e7f6ef1df84dcbd4253f6c4dc703f43cde4d5e38","original_commit_id":"e7f6ef1df84dcbd4253f6c4dc703f43cde4d5e38","user":{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},"body":"I don't think you need the `window` here (and below)","created_at":"2015-10-23T19:57:33Z","updated_at":"2015-10-23T19:57:33Z","html_url":"https://github.com/PolymerElements/paper-spinner/pull/32#discussion_r42907754","pull_request_url":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/comments/42907754"},"html":{"href":"https://github.com/PolymerElements/paper-spinner/pull/32#discussion_r42907754"},"pull_request":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/32","id":48622207,"html_url":"https://github.com/PolymerElements/paper-spinner/pull/32","diff_url":"https://github.com/PolymerElements/paper-spinner/pull/32.diff","patch_url":"https://github.com/PolymerElements/paper-spinner/pull/32.patch","issue_url":"https://api.github.com/repos/PolymerElements/paper-spinner/issues/32","number":32,"state":"open","locked":false,"title":"Fixes #27: cooldown is turned off whenever `active` is set to true.","user":{"login":"bicknellr","id":406614,"avatar_url":"https://avatars.githubusercontent.com/u/406614?v=3","gravatar_id":"","url":"https://api.github.com/users/bicknellr","html_url":"https://github.com/bicknellr","followers_url":"https://api.github.com/users/bicknellr/followers","following_url":"https://api.github.com/users/bicknellr/following{/other_user}","gists_url":"https://api.github.com/users/bicknellr/gists{/gist_id}","starred_url":"https://api.github.com/users/bicknellr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bicknellr/subscriptions","organizations_url":"https://api.github.com/users/bicknellr/orgs","repos_url":"https://api.github.com/users/bicknellr/repos","events_url":"https://api.github.com/users/bicknellr/events{/privacy}","received_events_url":"https://api.github.com/users/bicknellr/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-23T19:48:01Z","updated_at":"2015-10-23T19:57:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bf0b966e8c573441ebadbda79254b27b29ded12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/32/commits","review_comments_url":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/32/comments","review_comment_url":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PolymerElements/paper-spinner/issues/32/comments","statuses_url":"https://api.github.com/repos/PolymerElements/paper-spinner/statuses/e7f6ef1df84dcbd4253f6c4dc703f43cde4d5e38","head":{"label":"bicknellr:bicknellr/issue-27","ref":"bicknellr/issue-27","sha":"e7f6ef1df84dcbd4253f6c4dc703f43cde4d5e38","user":{"login":"bicknellr","id":406614,"avatar_url":"https://avatars.githubusercontent.com/u/406614?v=3","gravatar_id":"","url":"https://api.github.com/users/bicknellr","html_url":"https://github.com/bicknellr","followers_url":"https://api.github.com/users/bicknellr/followers","following_url":"https://api.github.com/users/bicknellr/following{/other_user}","gists_url":"https://api.github.com/users/bicknellr/gists{/gist_id}","starred_url":"https://api.github.com/users/bicknellr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bicknellr/subscriptions","organizations_url":"https://api.github.com/users/bicknellr/orgs","repos_url":"https://api.github.com/users/bicknellr/repos","events_url":"https://api.github.com/users/bicknellr/events{/privacy}","received_events_url":"https://api.github.com/users/bicknellr/received_events","type":"User","site_admin":false},"repo":{"id":44834853,"name":"paper-spinner","full_name":"bicknellr/paper-spinner","owner":{"login":"bicknellr","id":406614,"avatar_url":"https://avatars.githubusercontent.com/u/406614?v=3","gravatar_id":"","url":"https://api.github.com/users/bicknellr","html_url":"https://github.com/bicknellr","followers_url":"https://api.github.com/users/bicknellr/followers","following_url":"https://api.github.com/users/bicknellr/following{/other_user}","gists_url":"https://api.github.com/users/bicknellr/gists{/gist_id}","starred_url":"https://api.github.com/users/bicknellr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bicknellr/subscriptions","organizations_url":"https://api.github.com/users/bicknellr/orgs","repos_url":"https://api.github.com/users/bicknellr/repos","events_url":"https://api.github.com/users/bicknellr/events{/privacy}","received_events_url":"https://api.github.com/users/bicknellr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bicknellr/paper-spinner","description":"Material Design circular activity indicator","fork":true,"url":"https://api.github.com/repos/bicknellr/paper-spinner","forks_url":"https://api.github.com/repos/bicknellr/paper-spinner/forks","keys_url":"https://api.github.com/repos/bicknellr/paper-spinner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bicknellr/paper-spinner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bicknellr/paper-spinner/teams","hooks_url":"https://api.github.com/repos/bicknellr/paper-spinner/hooks","issue_events_url":"https://api.github.com/repos/bicknellr/paper-spinner/issues/events{/number}","events_url":"https://api.github.com/repos/bicknellr/paper-spinner/events","assignees_url":"https://api.github.com/repos/bicknellr/paper-spinner/assignees{/user}","branches_url":"https://api.github.com/repos/bicknellr/paper-spinner/branches{/branch}","tags_url":"https://api.github.com/repos/bicknellr/paper-spinner/tags","blobs_url":"https://api.github.com/repos/bicknellr/paper-spinner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bicknellr/paper-spinner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bicknellr/paper-spinner/git/refs{/sha}","trees_url":"https://api.github.com/repos/bicknellr/paper-spinner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bicknellr/paper-spinner/statuses/{sha}","languages_url":"https://api.github.com/repos/bicknellr/paper-spinner/languages","stargazers_url":"https://api.github.com/repos/bicknellr/paper-spinner/stargazers","contributors_url":"https://api.github.com/repos/bicknellr/paper-spinner/contributors","subscribers_url":"https://api.github.com/repos/bicknellr/paper-spinner/subscribers","subscription_url":"https://api.github.com/repos/bicknellr/paper-spinner/subscription","commits_url":"https://api.github.com/repos/bicknellr/paper-spinner/commits{/sha}","git_commits_url":"https://api.github.com/repos/bicknellr/paper-spinner/git/commits{/sha}","comments_url":"https://api.github.com/repos/bicknellr/paper-spinner/comments{/number}","issue_comment_url":"https://api.github.com/repos/bicknellr/paper-spinner/issues/comments{/number}","contents_url":"https://api.github.com/repos/bicknellr/paper-spinner/contents/{+path}","compare_url":"https://api.github.com/repos/bicknellr/paper-spinner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bicknellr/paper-spinner/merges","archive_url":"https://api.github.com/repos/bicknellr/paper-spinner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bicknellr/paper-spinner/downloads","issues_url":"https://api.github.com/repos/bicknellr/paper-spinner/issues{/number}","pulls_url":"https://api.github.com/repos/bicknellr/paper-spinner/pulls{/number}","milestones_url":"https://api.github.com/repos/bicknellr/paper-spinner/milestones{/number}","notifications_url":"https://api.github.com/repos/bicknellr/paper-spinner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bicknellr/paper-spinner/labels{/name}","releases_url":"https://api.github.com/repos/bicknellr/paper-spinner/releases{/id}","created_at":"2015-10-23T19:46:28Z","updated_at":"2015-10-23T19:46:28Z","pushed_at":"2015-10-23T19:47:28Z","git_url":"git://github.com/bicknellr/paper-spinner.git","ssh_url":"git@github.com:bicknellr/paper-spinner.git","clone_url":"https://github.com/bicknellr/paper-spinner.git","svn_url":"https://github.com/bicknellr/paper-spinner","homepage":"https://elements.polymer-project.org/elements/paper-spinner?view=demo:demo/index.html","size":165,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"PolymerElements:master","ref":"master","sha":"63538e2ab90038e1853f20673cc9415e3ddc7356","user":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"repo":{"id":34419563,"name":"paper-spinner","full_name":"PolymerElements/paper-spinner","owner":{"login":"PolymerElements","id":11639138,"avatar_url":"https://avatars.githubusercontent.com/u/11639138?v=3","gravatar_id":"","url":"https://api.github.com/users/PolymerElements","html_url":"https://github.com/PolymerElements","followers_url":"https://api.github.com/users/PolymerElements/followers","following_url":"https://api.github.com/users/PolymerElements/following{/other_user}","gists_url":"https://api.github.com/users/PolymerElements/gists{/gist_id}","starred_url":"https://api.github.com/users/PolymerElements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PolymerElements/subscriptions","organizations_url":"https://api.github.com/users/PolymerElements/orgs","repos_url":"https://api.github.com/users/PolymerElements/repos","events_url":"https://api.github.com/users/PolymerElements/events{/privacy}","received_events_url":"https://api.github.com/users/PolymerElements/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PolymerElements/paper-spinner","description":"Material Design circular activity indicator","fork":false,"url":"https://api.github.com/repos/PolymerElements/paper-spinner","forks_url":"https://api.github.com/repos/PolymerElements/paper-spinner/forks","keys_url":"https://api.github.com/repos/PolymerElements/paper-spinner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PolymerElements/paper-spinner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PolymerElements/paper-spinner/teams","hooks_url":"https://api.github.com/repos/PolymerElements/paper-spinner/hooks","issue_events_url":"https://api.github.com/repos/PolymerElements/paper-spinner/issues/events{/number}","events_url":"https://api.github.com/repos/PolymerElements/paper-spinner/events","assignees_url":"https://api.github.com/repos/PolymerElements/paper-spinner/assignees{/user}","branches_url":"https://api.github.com/repos/PolymerElements/paper-spinner/branches{/branch}","tags_url":"https://api.github.com/repos/PolymerElements/paper-spinner/tags","blobs_url":"https://api.github.com/repos/PolymerElements/paper-spinner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PolymerElements/paper-spinner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PolymerElements/paper-spinner/git/refs{/sha}","trees_url":"https://api.github.com/repos/PolymerElements/paper-spinner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PolymerElements/paper-spinner/statuses/{sha}","languages_url":"https://api.github.com/repos/PolymerElements/paper-spinner/languages","stargazers_url":"https://api.github.com/repos/PolymerElements/paper-spinner/stargazers","contributors_url":"https://api.github.com/repos/PolymerElements/paper-spinner/contributors","subscribers_url":"https://api.github.com/repos/PolymerElements/paper-spinner/subscribers","subscription_url":"https://api.github.com/repos/PolymerElements/paper-spinner/subscription","commits_url":"https://api.github.com/repos/PolymerElements/paper-spinner/commits{/sha}","git_commits_url":"https://api.github.com/repos/PolymerElements/paper-spinner/git/commits{/sha}","comments_url":"https://api.github.com/repos/PolymerElements/paper-spinner/comments{/number}","issue_comment_url":"https://api.github.com/repos/PolymerElements/paper-spinner/issues/comments{/number}","contents_url":"https://api.github.com/repos/PolymerElements/paper-spinner/contents/{+path}","compare_url":"https://api.github.com/repos/PolymerElements/paper-spinner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PolymerElements/paper-spinner/merges","archive_url":"https://api.github.com/repos/PolymerElements/paper-spinner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PolymerElements/paper-spinner/downloads","issues_url":"https://api.github.com/repos/PolymerElements/paper-spinner/issues{/number}","pulls_url":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls{/number}","milestones_url":"https://api.github.com/repos/PolymerElements/paper-spinner/milestones{/number}","notifications_url":"https://api.github.com/repos/PolymerElements/paper-spinner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PolymerElements/paper-spinner/labels{/name}","releases_url":"https://api.github.com/repos/PolymerElements/paper-spinner/releases{/id}","created_at":"2015-04-22T22:31:58Z","updated_at":"2015-10-06T22:52:55Z","pushed_at":"2015-10-23T19:48:03Z","git_url":"git://github.com/PolymerElements/paper-spinner.git","ssh_url":"git@github.com:PolymerElements/paper-spinner.git","clone_url":"https://github.com/PolymerElements/paper-spinner.git","svn_url":"https://github.com/PolymerElements/paper-spinner","homepage":"https://elements.polymer-project.org/elements/paper-spinner?view=demo:demo/index.html","size":397,"stargazers_count":5,"watchers_count":5,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":7,"forks":7,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/32"},"html":{"href":"https://github.com/PolymerElements/paper-spinner/pull/32"},"issue":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/issues/32"},"comments":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/PolymerElements/paper-spinner/statuses/e7f6ef1df84dcbd4253f6c4dc703f43cde4d5e38"}}}}