{"action":"created","comment":{"url":"https://api.github.com/repos/mesosphere/marathon/pulls/comments/23104471","id":23104471,"diff_hunk":"@@ -1,47 +1,51 @@\n /** @jsx React.DOM */\n \n+\"use strict\";\n \n var React = require(\"react/addons\");\n \n-module.exports = React.createClass({","path":"src/main/resources/assets/js/components/AppComponent.jsx","position":7,"original_position":7,"commit_id":"4e1a07bb4b854088f5e84e74dcd6c7250c09c5ea","original_commit_id":"4e1a07bb4b854088f5e84e74dcd6c7250c09c5ea","user":{"login":"pyronicide","id":47992,"avatar_url":"https://avatars.githubusercontent.com/u/47992?v=3","gravatar_id":"","url":"https://api.github.com/users/pyronicide","html_url":"https://github.com/pyronicide","followers_url":"https://api.github.com/users/pyronicide/followers","following_url":"https://api.github.com/users/pyronicide/following{/other_user}","gists_url":"https://api.github.com/users/pyronicide/gists{/gist_id}","starred_url":"https://api.github.com/users/pyronicide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyronicide/subscriptions","organizations_url":"https://api.github.com/users/pyronicide/orgs","repos_url":"https://api.github.com/users/pyronicide/repos","events_url":"https://api.github.com/users/pyronicide/events{/privacy}","received_events_url":"https://api.github.com/users/pyronicide/received_events","type":"User","site_admin":false},"body":"I kinda prefer this style to the new one. It forces you to only have one component/file and removes any possible repetition.","created_at":"2015-01-16T19:47:42Z","updated_at":"2015-01-16T19:47:42Z","html_url":"https://github.com/mesosphere/marathon/pull/1034#discussion_r23104471","pull_request_url":"https://api.github.com/repos/mesosphere/marathon/pulls/1034","_links":{"self":{"href":"https://api.github.com/repos/mesosphere/marathon/pulls/comments/23104471"},"html":{"href":"https://github.com/mesosphere/marathon/pull/1034#discussion_r23104471"},"pull_request":{"href":"https://api.github.com/repos/mesosphere/marathon/pulls/1034"}}},"pull_request":{"url":"https://api.github.com/repos/mesosphere/marathon/pulls/1034","id":27530632,"html_url":"https://github.com/mesosphere/marathon/pull/1034","diff_url":"https://github.com/mesosphere/marathon/pull/1034.diff","patch_url":"https://github.com/mesosphere/marathon/pull/1034.patch","issue_url":"https://api.github.com/repos/mesosphere/marathon/issues/1034","number":1034,"state":"open","locked":false,"title":"Style corrections","user":{"login":"mlunoe","id":1097941,"avatar_url":"https://avatars.githubusercontent.com/u/1097941?v=3","gravatar_id":"","url":"https://api.github.com/users/mlunoe","html_url":"https://github.com/mlunoe","followers_url":"https://api.github.com/users/mlunoe/followers","following_url":"https://api.github.com/users/mlunoe/following{/other_user}","gists_url":"https://api.github.com/users/mlunoe/gists{/gist_id}","starred_url":"https://api.github.com/users/mlunoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlunoe/subscriptions","organizations_url":"https://api.github.com/users/mlunoe/orgs","repos_url":"https://api.github.com/users/mlunoe/repos","events_url":"https://api.github.com/users/mlunoe/events{/privacy}","received_events_url":"https://api.github.com/users/mlunoe/received_events","type":"User","site_admin":false},"body":"Adding `\"use strict\";`, correcting indentation, naming modules (`var App = ...` and `module.exports = App;`), adding space to anonymous functions and if-statements (`function ()_{..}` and `if_(){...}`) ","created_at":"2015-01-16T19:39:01Z","updated_at":"2015-01-16T19:47:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aaa6747bae34e03bd2c031243acc333025c6ee74","assignee":{"login":"pyronicide","id":47992,"avatar_url":"https://avatars.githubusercontent.com/u/47992?v=3","gravatar_id":"","url":"https://api.github.com/users/pyronicide","html_url":"https://github.com/pyronicide","followers_url":"https://api.github.com/users/pyronicide/followers","following_url":"https://api.github.com/users/pyronicide/following{/other_user}","gists_url":"https://api.github.com/users/pyronicide/gists{/gist_id}","starred_url":"https://api.github.com/users/pyronicide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyronicide/subscriptions","organizations_url":"https://api.github.com/users/pyronicide/orgs","repos_url":"https://api.github.com/users/pyronicide/repos","events_url":"https://api.github.com/users/pyronicide/events{/privacy}","received_events_url":"https://api.github.com/users/pyronicide/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mesosphere/marathon/pulls/1034/commits","review_comments_url":"https://api.github.com/repos/mesosphere/marathon/pulls/1034/comments","review_comment_url":"https://api.github.com/repos/mesosphere/marathon/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/1034/comments","statuses_url":"https://api.github.com/repos/mesosphere/marathon/statuses/4e1a07bb4b854088f5e84e74dcd6c7250c09c5ea","head":{"label":"mesosphere:style-corrections","ref":"style-corrections","sha":"4e1a07bb4b854088f5e84e74dcd6c7250c09c5ea","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":10941409,"name":"marathon","full_name":"mesosphere/marathon","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/marathon","description":"Deploy and manage containers (including Docker) on top of Apache Mesos at scale.","fork":false,"url":"https://api.github.com/repos/mesosphere/marathon","forks_url":"https://api.github.com/repos/mesosphere/marathon/forks","keys_url":"https://api.github.com/repos/mesosphere/marathon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/marathon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/marathon/teams","hooks_url":"https://api.github.com/repos/mesosphere/marathon/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/marathon/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/marathon/events","assignees_url":"https://api.github.com/repos/mesosphere/marathon/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/marathon/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/marathon/tags","blobs_url":"https://api.github.com/repos/mesosphere/marathon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/marathon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/marathon/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/marathon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/marathon/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/marathon/languages","stargazers_url":"https://api.github.com/repos/mesosphere/marathon/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/marathon/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/marathon/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/marathon/subscription","commits_url":"https://api.github.com/repos/mesosphere/marathon/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/marathon/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/marathon/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/{number}","contents_url":"https://api.github.com/repos/mesosphere/marathon/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/marathon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/marathon/merges","archive_url":"https://api.github.com/repos/mesosphere/marathon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/marathon/downloads","issues_url":"https://api.github.com/repos/mesosphere/marathon/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/marathon/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/marathon/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/marathon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/marathon/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/marathon/releases{/id}","created_at":"2013-06-25T14:56:34Z","updated_at":"2015-01-16T19:33:04Z","pushed_at":"2015-01-16T19:33:05Z","git_url":"git://github.com/mesosphere/marathon.git","ssh_url":"git@github.com:mesosphere/marathon.git","clone_url":"https://github.com/mesosphere/marathon.git","svn_url":"https://github.com/mesosphere/marathon","homepage":"https://mesosphere.github.io/marathon/","size":18833,"stargazers_count":1045,"watchers_count":1045,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":207,"mirror_url":null,"open_issues_count":151,"forks":207,"open_issues":151,"watchers":1045,"default_branch":"master"}},"base":{"label":"mesosphere:master","ref":"master","sha":"8691ac0171397fc31554af9bdbeeb674f924edae","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":10941409,"name":"marathon","full_name":"mesosphere/marathon","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/marathon","description":"Deploy and manage containers (including Docker) on top of Apache Mesos at scale.","fork":false,"url":"https://api.github.com/repos/mesosphere/marathon","forks_url":"https://api.github.com/repos/mesosphere/marathon/forks","keys_url":"https://api.github.com/repos/mesosphere/marathon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/marathon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/marathon/teams","hooks_url":"https://api.github.com/repos/mesosphere/marathon/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/marathon/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/marathon/events","assignees_url":"https://api.github.com/repos/mesosphere/marathon/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/marathon/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/marathon/tags","blobs_url":"https://api.github.com/repos/mesosphere/marathon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/marathon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/marathon/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/marathon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/marathon/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/marathon/languages","stargazers_url":"https://api.github.com/repos/mesosphere/marathon/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/marathon/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/marathon/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/marathon/subscription","commits_url":"https://api.github.com/repos/mesosphere/marathon/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/marathon/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/marathon/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/{number}","contents_url":"https://api.github.com/repos/mesosphere/marathon/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/marathon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/marathon/merges","archive_url":"https://api.github.com/repos/mesosphere/marathon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/marathon/downloads","issues_url":"https://api.github.com/repos/mesosphere/marathon/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/marathon/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/marathon/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/marathon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/marathon/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/marathon/releases{/id}","created_at":"2013-06-25T14:56:34Z","updated_at":"2015-01-16T19:33:04Z","pushed_at":"2015-01-16T19:33:05Z","git_url":"git://github.com/mesosphere/marathon.git","ssh_url":"git@github.com:mesosphere/marathon.git","clone_url":"https://github.com/mesosphere/marathon.git","svn_url":"https://github.com/mesosphere/marathon","homepage":"https://mesosphere.github.io/marathon/","size":18833,"stargazers_count":1045,"watchers_count":1045,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":207,"mirror_url":null,"open_issues_count":151,"forks":207,"open_issues":151,"watchers":1045,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesosphere/marathon/pulls/1034"},"html":{"href":"https://github.com/mesosphere/marathon/pull/1034"},"issue":{"href":"https://api.github.com/repos/mesosphere/marathon/issues/1034"},"comments":{"href":"https://api.github.com/repos/mesosphere/marathon/issues/1034/comments"},"review_comments":{"href":"https://api.github.com/repos/mesosphere/marathon/pulls/1034/comments"},"review_comment":{"href":"https://api.github.com/repos/mesosphere/marathon/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mesosphere/marathon/pulls/1034/commits"},"statuses":{"href":"https://api.github.com/repos/mesosphere/marathon/statuses/4e1a07bb4b854088f5e84e74dcd6c7250c09c5ea"}}}}