{"action":"created","comment":{"url":"https://api.github.com/repos/angular/angular/pulls/comments/38184038","id":38184038,"diff_hunk":"@@ -0,0 +1,191 @@\n+import {\n+  DateWrapper,\n+  StringWrapper,\n+  RegExpWrapper,\n+  NumberWrapper\n+} from 'angular2/src/core/facade/lang';\n+import {Math} from 'angular2/src/core/facade/math';\n+import {camelCaseToDashCase} from 'angular2/src/core/render/dom/util';\n+import {StringMapWrapper} from 'angular2/src/core/facade/collection';\n+import {DOM} from 'angular2/src/core/dom/dom_adapter';\n+import {CssStyleDeclaration, getComputedStyle, window} from 'angular2/src/core/facade/browser';\n+import {BrowserDomAdapter} from 'angular2/src/core/dom/browser_adapter';\n+\n+import {AnimateHelpers} from './animate_helpers';\n+import {AnimateCssOptions} from './animate_css_options';\n+import {RAF} from './raf';\n+\n+var dom = new BrowserDomAdapter();\n+\n+export class AnimateRunner {\n+  /** functions to be called upon completion */\n+  callbacks: Function[] = [];\n+\n+  /** the duration of the animation (whether from CSS or manually set) */\n+  computedDuration: number;\n+\n+  /** the animation delay (whether from CSS or manually set) */\n+  computedDelay: number;\n+\n+  /** timestamp of when the animation started */\n+  startTime: number;\n+\n+  /** functions for removing event listeners */\n+  eventFns: Function[] = [];\n+\n+  /** flag used to track whether or not the animation have finished */","path":"modules/angular2/src/animate/animate_runner.ts","position":36,"original_position":36,"commit_id":"8998b75091bca89c51108fcf3246adfbfdc3dd4b","original_commit_id":"8998b75091bca89c51108fcf3246adfbfdc3dd4b","user":{"login":"gkalpak","id":8604205,"avatar_url":"https://avatars.githubusercontent.com/u/8604205?v=3","gravatar_id":"","url":"https://api.github.com/users/gkalpak","html_url":"https://github.com/gkalpak","followers_url":"https://api.github.com/users/gkalpak/followers","following_url":"https://api.github.com/users/gkalpak/following{/other_user}","gists_url":"https://api.github.com/users/gkalpak/gists{/gist_id}","starred_url":"https://api.github.com/users/gkalpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkalpak/subscriptions","organizations_url":"https://api.github.com/users/gkalpak/orgs","repos_url":"https://api.github.com/users/gkalpak/repos","events_url":"https://api.github.com/users/gkalpak/events{/privacy}","received_events_url":"https://api.github.com/users/gkalpak/received_events","type":"User","site_admin":false},"body":"_have_  -->  _has_ :)","created_at":"2015-08-28T09:30:53Z","updated_at":"2015-08-28T09:30:53Z","html_url":"https://github.com/angular/angular/pull/3876#discussion_r38184038","pull_request_url":"https://api.github.com/repos/angular/angular/pulls/3876","_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/comments/38184038"},"html":{"href":"https://github.com/angular/angular/pull/3876#discussion_r38184038"},"pull_request":{"href":"https://api.github.com/repos/angular/angular/pulls/3876"}}},"pull_request":{"url":"https://api.github.com/repos/angular/angular/pulls/3876","id":43565226,"html_url":"https://github.com/angular/angular/pull/3876","diff_url":"https://github.com/angular/angular/pull/3876.diff","patch_url":"https://github.com/angular/angular/pull/3876.patch","issue_url":"https://api.github.com/repos/angular/angular/issues/3876","number":3876,"state":"open","locked":false,"title":"Adds Animate service and enter/leave CSS hooks","user":{"login":"robertmesserle","id":571363,"avatar_url":"https://avatars.githubusercontent.com/u/571363?v=3","gravatar_id":"","url":"https://api.github.com/users/robertmesserle","html_url":"https://github.com/robertmesserle","followers_url":"https://api.github.com/users/robertmesserle/followers","following_url":"https://api.github.com/users/robertmesserle/following{/other_user}","gists_url":"https://api.github.com/users/robertmesserle/gists{/gist_id}","starred_url":"https://api.github.com/users/robertmesserle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertmesserle/subscriptions","organizations_url":"https://api.github.com/users/robertmesserle/orgs","repos_url":"https://api.github.com/users/robertmesserle/repos","events_url":"https://api.github.com/users/robertmesserle/events{/privacy}","received_events_url":"https://api.github.com/users/robertmesserle/received_events","type":"User","site_admin":false},"body":"- Users can animate CSS via Animate.prototype.css()\r\n- Adds temporary hooks (`ng-enter`, `ng-leave`) for CSS animations","created_at":"2015-08-27T20:51:03Z","updated_at":"2015-08-28T09:30:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f5a6784308c0f9a223c9caca2523783a129aaa3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular/pulls/3876/commits","review_comments_url":"https://api.github.com/repos/angular/angular/pulls/3876/comments","review_comment_url":"https://api.github.com/repos/angular/angular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular/issues/3876/comments","statuses_url":"https://api.github.com/repos/angular/angular/statuses/8998b75091bca89c51108fcf3246adfbfdc3dd4b","head":{"label":"robertmesserle:wip/animate-css","ref":"wip/animate-css","sha":"8998b75091bca89c51108fcf3246adfbfdc3dd4b","user":{"login":"robertmesserle","id":571363,"avatar_url":"https://avatars.githubusercontent.com/u/571363?v=3","gravatar_id":"","url":"https://api.github.com/users/robertmesserle","html_url":"https://github.com/robertmesserle","followers_url":"https://api.github.com/users/robertmesserle/followers","following_url":"https://api.github.com/users/robertmesserle/following{/other_user}","gists_url":"https://api.github.com/users/robertmesserle/gists{/gist_id}","starred_url":"https://api.github.com/users/robertmesserle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertmesserle/subscriptions","organizations_url":"https://api.github.com/users/robertmesserle/orgs","repos_url":"https://api.github.com/users/robertmesserle/repos","events_url":"https://api.github.com/users/robertmesserle/events{/privacy}","received_events_url":"https://api.github.com/users/robertmesserle/received_events","type":"User","site_admin":false},"repo":{"id":41107466,"name":"angular","full_name":"robertmesserle/angular","owner":{"login":"robertmesserle","id":571363,"avatar_url":"https://avatars.githubusercontent.com/u/571363?v=3","gravatar_id":"","url":"https://api.github.com/users/robertmesserle","html_url":"https://github.com/robertmesserle","followers_url":"https://api.github.com/users/robertmesserle/followers","following_url":"https://api.github.com/users/robertmesserle/following{/other_user}","gists_url":"https://api.github.com/users/robertmesserle/gists{/gist_id}","starred_url":"https://api.github.com/users/robertmesserle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertmesserle/subscriptions","organizations_url":"https://api.github.com/users/robertmesserle/orgs","repos_url":"https://api.github.com/users/robertmesserle/repos","events_url":"https://api.github.com/users/robertmesserle/events{/privacy}","received_events_url":"https://api.github.com/users/robertmesserle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robertmesserle/angular","description":"","fork":true,"url":"https://api.github.com/repos/robertmesserle/angular","forks_url":"https://api.github.com/repos/robertmesserle/angular/forks","keys_url":"https://api.github.com/repos/robertmesserle/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robertmesserle/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robertmesserle/angular/teams","hooks_url":"https://api.github.com/repos/robertmesserle/angular/hooks","issue_events_url":"https://api.github.com/repos/robertmesserle/angular/issues/events{/number}","events_url":"https://api.github.com/repos/robertmesserle/angular/events","assignees_url":"https://api.github.com/repos/robertmesserle/angular/assignees{/user}","branches_url":"https://api.github.com/repos/robertmesserle/angular/branches{/branch}","tags_url":"https://api.github.com/repos/robertmesserle/angular/tags","blobs_url":"https://api.github.com/repos/robertmesserle/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robertmesserle/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robertmesserle/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/robertmesserle/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robertmesserle/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/robertmesserle/angular/languages","stargazers_url":"https://api.github.com/repos/robertmesserle/angular/stargazers","contributors_url":"https://api.github.com/repos/robertmesserle/angular/contributors","subscribers_url":"https://api.github.com/repos/robertmesserle/angular/subscribers","subscription_url":"https://api.github.com/repos/robertmesserle/angular/subscription","commits_url":"https://api.github.com/repos/robertmesserle/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/robertmesserle/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/robertmesserle/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/robertmesserle/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/robertmesserle/angular/contents/{+path}","compare_url":"https://api.github.com/repos/robertmesserle/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robertmesserle/angular/merges","archive_url":"https://api.github.com/repos/robertmesserle/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robertmesserle/angular/downloads","issues_url":"https://api.github.com/repos/robertmesserle/angular/issues{/number}","pulls_url":"https://api.github.com/repos/robertmesserle/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/robertmesserle/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/robertmesserle/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robertmesserle/angular/labels{/name}","releases_url":"https://api.github.com/repos/robertmesserle/angular/releases{/id}","created_at":"2015-08-20T16:45:23Z","updated_at":"2015-08-20T16:45:26Z","pushed_at":"2015-08-28T02:54:58Z","git_url":"git://github.com/robertmesserle/angular.git","ssh_url":"git@github.com:robertmesserle/angular.git","clone_url":"https://github.com/robertmesserle/angular.git","svn_url":"https://github.com/robertmesserle/angular","homepage":"https://angular.io","size":13070,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"angular:master","ref":"master","sha":"02d9e18279d1c0994026bb61bc0bcbf72ac59bbd","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":24195339,"name":"angular","full_name":"angular/angular","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular","description":"","fork":false,"url":"https://api.github.com/repos/angular/angular","forks_url":"https://api.github.com/repos/angular/angular/forks","keys_url":"https://api.github.com/repos/angular/angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular/teams","hooks_url":"https://api.github.com/repos/angular/angular/hooks","issue_events_url":"https://api.github.com/repos/angular/angular/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular/events","assignees_url":"https://api.github.com/repos/angular/angular/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular/tags","blobs_url":"https://api.github.com/repos/angular/angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular/languages","stargazers_url":"https://api.github.com/repos/angular/angular/stargazers","contributors_url":"https://api.github.com/repos/angular/angular/contributors","subscribers_url":"https://api.github.com/repos/angular/angular/subscribers","subscription_url":"https://api.github.com/repos/angular/angular/subscription","commits_url":"https://api.github.com/repos/angular/angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular/merges","archive_url":"https://api.github.com/repos/angular/angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular/downloads","issues_url":"https://api.github.com/repos/angular/angular/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular/releases{/id}","created_at":"2014-09-18T16:12:01Z","updated_at":"2015-08-28T07:29:40Z","pushed_at":"2015-08-28T09:21:02Z","git_url":"git://github.com/angular/angular.git","ssh_url":"git@github.com:angular/angular.git","clone_url":"https://github.com/angular/angular.git","svn_url":"https://github.com/angular/angular","homepage":"https://angular.io","size":46210,"stargazers_count":5015,"watchers_count":5015,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1327,"mirror_url":null,"open_issues_count":399,"forks":1327,"open_issues":399,"watchers":5015,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular/pulls/3876"},"html":{"href":"https://github.com/angular/angular/pull/3876"},"issue":{"href":"https://api.github.com/repos/angular/angular/issues/3876"},"comments":{"href":"https://api.github.com/repos/angular/angular/issues/3876/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular/pulls/3876/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular/pulls/3876/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular/statuses/8998b75091bca89c51108fcf3246adfbfdc3dd4b"}}}}