{"action":"created","comment":{"url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/comments/48504082","id":48504082,"diff_hunk":"@@ -0,0 +1,54 @@\n+import React from 'react';\n+\n+const AccountRegistration = React.createClass({\n+  displayName: 'AccountRegistration',\n+\n+  handleSubmit(e) {\n+    e.preventDefault();\n+    this.props.submitRegistration();\n+  },\n+\n+  handlePreviousStep(e) {\n+    e.preventDefault();\n+    this.props.previousStep();\n+  },\n+\n+  saveFormValues() {\n+    const values = this.fetchValues();\n+    this.props.saveValues(values);\n+  },\n+\n+  fetchValues() {\n+    return {\n+      firstName: React.findDOMNode(this.refs.firstName).value.trim(),\n+      lastName: React.findDOMNode(this.refs.lastName).value.trim(),\n+      password: React.findDOMNode(this.refs.password).value.trim()\n+    };\n+  },\n+\n+  render() {\n+    return (\n+      <div className='container'>","path":"app/components/AccountRegistration.js","position":32,"original_position":31,"commit_id":"697bb0272d4cac5246838bddae1e02ba473a7aad","original_commit_id":"c8e93659ae2cc5530ac4d9b08c8bd6a47659b814","user":{"login":"marcgarreau","id":3621728,"avatar_url":"https://avatars.githubusercontent.com/u/3621728?v=3","gravatar_id":"","url":"https://api.github.com/users/marcgarreau","html_url":"https://github.com/marcgarreau","followers_url":"https://api.github.com/users/marcgarreau/followers","following_url":"https://api.github.com/users/marcgarreau/following{/other_user}","gists_url":"https://api.github.com/users/marcgarreau/gists{/gist_id}","starred_url":"https://api.github.com/users/marcgarreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcgarreau/subscriptions","organizations_url":"https://api.github.com/users/marcgarreau/orgs","repos_url":"https://api.github.com/users/marcgarreau/repos","events_url":"https://api.github.com/users/marcgarreau/events{/privacy}","received_events_url":"https://api.github.com/users/marcgarreau/received_events","type":"User","site_admin":false},"body":"Correct on `container`. Have read a bit on bem - Down to give it a run, but styling has been utterly neglected so far.","created_at":"2015-12-28T20:39:16Z","updated_at":"2015-12-28T20:39:16Z","html_url":"https://github.com/careercrumbs/careercrumbs-client/pull/13#discussion_r48504082","pull_request_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/comments/48504082"},"html":{"href":"https://github.com/careercrumbs/careercrumbs-client/pull/13#discussion_r48504082"},"pull_request":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/13","id":54608515,"html_url":"https://github.com/careercrumbs/careercrumbs-client/pull/13","diff_url":"https://github.com/careercrumbs/careercrumbs-client/pull/13.diff","patch_url":"https://github.com/careercrumbs/careercrumbs-client/pull/13.patch","issue_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues/13","number":13,"state":"open","locked":false,"title":"Real auth","user":{"login":"marcgarreau","id":3621728,"avatar_url":"https://avatars.githubusercontent.com/u/3621728?v=3","gravatar_id":"","url":"https://api.github.com/users/marcgarreau","html_url":"https://github.com/marcgarreau","followers_url":"https://api.github.com/users/marcgarreau/followers","following_url":"https://api.github.com/users/marcgarreau/following{/other_user}","gists_url":"https://api.github.com/users/marcgarreau/gists{/gist_id}","starred_url":"https://api.github.com/users/marcgarreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcgarreau/subscriptions","organizations_url":"https://api.github.com/users/marcgarreau/orgs","repos_url":"https://api.github.com/users/marcgarreau/repos","events_url":"https://api.github.com/users/marcgarreau/events{/privacy}","received_events_url":"https://api.github.com/users/marcgarreau/received_events","type":"User","site_admin":false},"body":"#### What's this PR do?\r\nWires up jwt token-based auth to the server.\r\n#### Where should the reviewer start?\r\n`LoginPage` and `RegistrationPage`\r\n#### How should this be manually tested?\r\nWith the server running locally, create an account. Log out and sign back in.\r\n#### Any background context you want to provide?\r\nNo form validation exists yet.\r\n#### What gif best describes this PR or how it makes you feel?\r\n![rainbowkeyboard](https://cloud.githubusercontent.com/assets/3621728/12008179/35a6c1c2-abf8-11e5-9b86-08dc8e19cbf9.gif)\r\n","created_at":"2015-12-26T22:44:07Z","updated_at":"2015-12-28T20:39:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12582d80dd08ba2d00edaa3a24af43868775f149","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/13/commits","review_comments_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/13/comments","review_comment_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues/13/comments","statuses_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/statuses/697bb0272d4cac5246838bddae1e02ba473a7aad","head":{"label":"careercrumbs:real_auth","ref":"real_auth","sha":"697bb0272d4cac5246838bddae1e02ba473a7aad","user":{"login":"careercrumbs","id":6678880,"avatar_url":"https://avatars.githubusercontent.com/u/6678880?v=3","gravatar_id":"","url":"https://api.github.com/users/careercrumbs","html_url":"https://github.com/careercrumbs","followers_url":"https://api.github.com/users/careercrumbs/followers","following_url":"https://api.github.com/users/careercrumbs/following{/other_user}","gists_url":"https://api.github.com/users/careercrumbs/gists{/gist_id}","starred_url":"https://api.github.com/users/careercrumbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careercrumbs/subscriptions","organizations_url":"https://api.github.com/users/careercrumbs/orgs","repos_url":"https://api.github.com/users/careercrumbs/repos","events_url":"https://api.github.com/users/careercrumbs/events{/privacy}","received_events_url":"https://api.github.com/users/careercrumbs/received_events","type":"Organization","site_admin":false},"repo":{"id":44446871,"name":"careercrumbs-client","full_name":"careercrumbs/careercrumbs-client","owner":{"login":"careercrumbs","id":6678880,"avatar_url":"https://avatars.githubusercontent.com/u/6678880?v=3","gravatar_id":"","url":"https://api.github.com/users/careercrumbs","html_url":"https://github.com/careercrumbs","followers_url":"https://api.github.com/users/careercrumbs/followers","following_url":"https://api.github.com/users/careercrumbs/following{/other_user}","gists_url":"https://api.github.com/users/careercrumbs/gists{/gist_id}","starred_url":"https://api.github.com/users/careercrumbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careercrumbs/subscriptions","organizations_url":"https://api.github.com/users/careercrumbs/orgs","repos_url":"https://api.github.com/users/careercrumbs/repos","events_url":"https://api.github.com/users/careercrumbs/events{/privacy}","received_events_url":"https://api.github.com/users/careercrumbs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/careercrumbs/careercrumbs-client","description":"Client-side application for Career Crumbs","fork":false,"url":"https://api.github.com/repos/careercrumbs/careercrumbs-client","forks_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/forks","keys_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/teams","hooks_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/hooks","issue_events_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues/events{/number}","events_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/events","assignees_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/assignees{/user}","branches_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/branches{/branch}","tags_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/tags","blobs_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/statuses/{sha}","languages_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/languages","stargazers_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/stargazers","contributors_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/contributors","subscribers_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/subscribers","subscription_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/subscription","commits_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/contents/{+path}","compare_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/merges","archive_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/downloads","issues_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues{/number}","pulls_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls{/number}","milestones_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/milestones{/number}","notifications_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/labels{/name}","releases_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/releases{/id}","created_at":"2015-10-17T17:17:42Z","updated_at":"2015-10-29T04:12:00Z","pushed_at":"2015-12-28T20:26:19Z","git_url":"git://github.com/careercrumbs/careercrumbs-client.git","ssh_url":"git@github.com:careercrumbs/careercrumbs-client.git","clone_url":"https://github.com/careercrumbs/careercrumbs-client.git","svn_url":"https://github.com/careercrumbs/careercrumbs-client","homepage":null,"size":256,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"careercrumbs:master","ref":"master","sha":"6d825d014cce1a154b459c756f9b2d94191e35f5","user":{"login":"careercrumbs","id":6678880,"avatar_url":"https://avatars.githubusercontent.com/u/6678880?v=3","gravatar_id":"","url":"https://api.github.com/users/careercrumbs","html_url":"https://github.com/careercrumbs","followers_url":"https://api.github.com/users/careercrumbs/followers","following_url":"https://api.github.com/users/careercrumbs/following{/other_user}","gists_url":"https://api.github.com/users/careercrumbs/gists{/gist_id}","starred_url":"https://api.github.com/users/careercrumbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careercrumbs/subscriptions","organizations_url":"https://api.github.com/users/careercrumbs/orgs","repos_url":"https://api.github.com/users/careercrumbs/repos","events_url":"https://api.github.com/users/careercrumbs/events{/privacy}","received_events_url":"https://api.github.com/users/careercrumbs/received_events","type":"Organization","site_admin":false},"repo":{"id":44446871,"name":"careercrumbs-client","full_name":"careercrumbs/careercrumbs-client","owner":{"login":"careercrumbs","id":6678880,"avatar_url":"https://avatars.githubusercontent.com/u/6678880?v=3","gravatar_id":"","url":"https://api.github.com/users/careercrumbs","html_url":"https://github.com/careercrumbs","followers_url":"https://api.github.com/users/careercrumbs/followers","following_url":"https://api.github.com/users/careercrumbs/following{/other_user}","gists_url":"https://api.github.com/users/careercrumbs/gists{/gist_id}","starred_url":"https://api.github.com/users/careercrumbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/careercrumbs/subscriptions","organizations_url":"https://api.github.com/users/careercrumbs/orgs","repos_url":"https://api.github.com/users/careercrumbs/repos","events_url":"https://api.github.com/users/careercrumbs/events{/privacy}","received_events_url":"https://api.github.com/users/careercrumbs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/careercrumbs/careercrumbs-client","description":"Client-side application for Career Crumbs","fork":false,"url":"https://api.github.com/repos/careercrumbs/careercrumbs-client","forks_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/forks","keys_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/teams","hooks_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/hooks","issue_events_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues/events{/number}","events_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/events","assignees_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/assignees{/user}","branches_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/branches{/branch}","tags_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/tags","blobs_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/statuses/{sha}","languages_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/languages","stargazers_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/stargazers","contributors_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/contributors","subscribers_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/subscribers","subscription_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/subscription","commits_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/contents/{+path}","compare_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/merges","archive_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/downloads","issues_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues{/number}","pulls_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls{/number}","milestones_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/milestones{/number}","notifications_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/labels{/name}","releases_url":"https://api.github.com/repos/careercrumbs/careercrumbs-client/releases{/id}","created_at":"2015-10-17T17:17:42Z","updated_at":"2015-10-29T04:12:00Z","pushed_at":"2015-12-28T20:26:19Z","git_url":"git://github.com/careercrumbs/careercrumbs-client.git","ssh_url":"git@github.com:careercrumbs/careercrumbs-client.git","clone_url":"https://github.com/careercrumbs/careercrumbs-client.git","svn_url":"https://github.com/careercrumbs/careercrumbs-client","homepage":null,"size":256,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/13"},"html":{"href":"https://github.com/careercrumbs/careercrumbs-client/pull/13"},"issue":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues/13"},"comments":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/careercrumbs/careercrumbs-client/statuses/697bb0272d4cac5246838bddae1e02ba473a7aad"}}}}