{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react/pulls/comments/32413802","id":32413802,"diff_hunk":"@@ -48,8 +48,8 @@ var ReactCSSTransitionGroupChild = React.createClass({\n \n   transition: function(animationType, finishCallback) {\n     var node = React.findDOMNode(this);\n-    var className = this.props.name + '-' + animationType;\n-    var activeClassName = className + '-active';\n+    var className = this.props.name[animationType] || this.props.name + '-' + animationType;\n+    var activeClassName = this.props.name[animationType + 'Active'] || className + '-active';","path":"src/addons/transitions/ReactCSSTransitionGroupChild.js","position":7,"original_position":7,"commit_id":"6e5b0248db895ff7f0b7cf06bc203702bbf3284f","original_commit_id":"6e5b0248db895ff7f0b7cf06bc203702bbf3284f","user":{"login":"mosch","id":224866,"avatar_url":"https://avatars.githubusercontent.com/u/224866?v=3","gravatar_id":"","url":"https://api.github.com/users/mosch","html_url":"https://github.com/mosch","followers_url":"https://api.github.com/users/mosch/followers","following_url":"https://api.github.com/users/mosch/following{/other_user}","gists_url":"https://api.github.com/users/mosch/gists{/gist_id}","starred_url":"https://api.github.com/users/mosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosch/subscriptions","organizations_url":"https://api.github.com/users/mosch/orgs","repos_url":"https://api.github.com/users/mosch/repos","events_url":"https://api.github.com/users/mosch/events{/privacy}","received_events_url":"https://api.github.com/users/mosch/received_events","type":"User","site_admin":false},"body":"@zpao can you help on this? I would also love to help out on this if i can. Maybe with the test?","created_at":"2015-06-15T12:21:56Z","updated_at":"2015-06-15T12:21:56Z","html_url":"https://github.com/facebook/react/pull/3761#discussion_r32413802","pull_request_url":"https://api.github.com/repos/facebook/react/pulls/3761","_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/comments/32413802"},"html":{"href":"https://github.com/facebook/react/pull/3761#discussion_r32413802"},"pull_request":{"href":"https://api.github.com/repos/facebook/react/pulls/3761"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/3761","id":34228632,"html_url":"https://github.com/facebook/react/pull/3761","diff_url":"https://github.com/facebook/react/pull/3761.diff","patch_url":"https://github.com/facebook/react/pull/3761.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/3761","number":3761,"state":"open","locked":false,"title":"Custom class names in ReactCSSTransitionGroup","user":{"login":"alexpien","id":2401597,"avatar_url":"https://avatars.githubusercontent.com/u/2401597?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpien","html_url":"https://github.com/alexpien","followers_url":"https://api.github.com/users/alexpien/followers","following_url":"https://api.github.com/users/alexpien/following{/other_user}","gists_url":"https://api.github.com/users/alexpien/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpien/subscriptions","organizations_url":"https://api.github.com/users/alexpien/orgs","repos_url":"https://api.github.com/users/alexpien/repos","events_url":"https://api.github.com/users/alexpien/events{/privacy}","received_events_url":"https://api.github.com/users/alexpien/received_events","type":"User","site_admin":false},"body":"resolving #2680. API for adding custom classnames follows the proposed API in the issue.","created_at":"2015-04-28T02:24:47Z","updated_at":"2015-06-15T12:21:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8469083c35b0dcdccf73078a92408d680e87a0a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/3761/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/3761/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/3761/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/6e5b0248db895ff7f0b7cf06bc203702bbf3284f","head":{"label":"alexpien:CustomClassesForReactCSSTransitionGroup","ref":"CustomClassesForReactCSSTransitionGroup","sha":"6e5b0248db895ff7f0b7cf06bc203702bbf3284f","user":{"login":"alexpien","id":2401597,"avatar_url":"https://avatars.githubusercontent.com/u/2401597?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpien","html_url":"https://github.com/alexpien","followers_url":"https://api.github.com/users/alexpien/followers","following_url":"https://api.github.com/users/alexpien/following{/other_user}","gists_url":"https://api.github.com/users/alexpien/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpien/subscriptions","organizations_url":"https://api.github.com/users/alexpien/orgs","repos_url":"https://api.github.com/users/alexpien/repos","events_url":"https://api.github.com/users/alexpien/events{/privacy}","received_events_url":"https://api.github.com/users/alexpien/received_events","type":"User","site_admin":false},"repo":{"id":34688225,"name":"react","full_name":"alexpien/react","owner":{"login":"alexpien","id":2401597,"avatar_url":"https://avatars.githubusercontent.com/u/2401597?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpien","html_url":"https://github.com/alexpien","followers_url":"https://api.github.com/users/alexpien/followers","following_url":"https://api.github.com/users/alexpien/following{/other_user}","gists_url":"https://api.github.com/users/alexpien/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpien/subscriptions","organizations_url":"https://api.github.com/users/alexpien/orgs","repos_url":"https://api.github.com/users/alexpien/repos","events_url":"https://api.github.com/users/alexpien/events{/privacy}","received_events_url":"https://api.github.com/users/alexpien/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexpien/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":true,"url":"https://api.github.com/repos/alexpien/react","forks_url":"https://api.github.com/repos/alexpien/react/forks","keys_url":"https://api.github.com/repos/alexpien/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexpien/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexpien/react/teams","hooks_url":"https://api.github.com/repos/alexpien/react/hooks","issue_events_url":"https://api.github.com/repos/alexpien/react/issues/events{/number}","events_url":"https://api.github.com/repos/alexpien/react/events","assignees_url":"https://api.github.com/repos/alexpien/react/assignees{/user}","branches_url":"https://api.github.com/repos/alexpien/react/branches{/branch}","tags_url":"https://api.github.com/repos/alexpien/react/tags","blobs_url":"https://api.github.com/repos/alexpien/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexpien/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexpien/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexpien/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexpien/react/statuses/{sha}","languages_url":"https://api.github.com/repos/alexpien/react/languages","stargazers_url":"https://api.github.com/repos/alexpien/react/stargazers","contributors_url":"https://api.github.com/repos/alexpien/react/contributors","subscribers_url":"https://api.github.com/repos/alexpien/react/subscribers","subscription_url":"https://api.github.com/repos/alexpien/react/subscription","commits_url":"https://api.github.com/repos/alexpien/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexpien/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexpien/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexpien/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexpien/react/contents/{+path}","compare_url":"https://api.github.com/repos/alexpien/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexpien/react/merges","archive_url":"https://api.github.com/repos/alexpien/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexpien/react/downloads","issues_url":"https://api.github.com/repos/alexpien/react/issues{/number}","pulls_url":"https://api.github.com/repos/alexpien/react/pulls{/number}","milestones_url":"https://api.github.com/repos/alexpien/react/milestones{/number}","notifications_url":"https://api.github.com/repos/alexpien/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexpien/react/labels{/name}","releases_url":"https://api.github.com/repos/alexpien/react/releases{/id}","created_at":"2015-04-27T20:02:17Z","updated_at":"2015-04-27T20:02:19Z","pushed_at":"2015-04-28T02:16:24Z","git_url":"git://github.com/alexpien/react.git","ssh_url":"git@github.com:alexpien/react.git","clone_url":"https://github.com/alexpien/react.git","svn_url":"https://github.com/alexpien/react","homepage":"https://facebook.github.io/react/","size":57344,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"40119404b9586641dcc4583f46c3925ca4496277","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":10270250,"name":"react","full_name":"facebook/react","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","created_at":"2013-05-24T16:15:54Z","updated_at":"2015-06-15T12:10:23Z","pushed_at":"2015-06-15T12:04:54Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"https://facebook.github.io/react/","size":99918,"stargazers_count":23513,"watchers_count":23513,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3376,"mirror_url":null,"open_issues_count":567,"forks":3376,"open_issues":567,"watchers":23513,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/3761"},"html":{"href":"https://github.com/facebook/react/pull/3761"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/3761"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/3761/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/3761/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/3761/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/6e5b0248db895ff7f0b7cf06bc203702bbf3284f"}}}}