{"action":"created","comment":{"url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/comments/57382132","id":57382132,"diff_hunk":"@@ -0,0 +1,28 @@\n+function AccountService(path){\n+  this._users = [];\n+  var userObj = new User(path);\n+  //replace for with map\n+  this._users = path.map(function(userObj){\n+    return userObj;\n+  });\n+}\n+\n+AccountService.prototype.displayLoginError = function(){\n+  document.getElementById('error').innerHTML=\"Oops! That email/password combination is not valid.\";","path":"app/account-service.js","position":11,"original_position":11,"commit_id":"bcc44bb125bb83b797ec377031f511648585e620","original_commit_id":"bcc44bb125bb83b797ec377031f511648585e620","user":{"login":"gcazaciuc","id":1248360,"avatar_url":"https://avatars.githubusercontent.com/u/1248360?v=3","gravatar_id":"","url":"https://api.github.com/users/gcazaciuc","html_url":"https://github.com/gcazaciuc","followers_url":"https://api.github.com/users/gcazaciuc/followers","following_url":"https://api.github.com/users/gcazaciuc/following{/other_user}","gists_url":"https://api.github.com/users/gcazaciuc/gists{/gist_id}","starred_url":"https://api.github.com/users/gcazaciuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcazaciuc/subscriptions","organizations_url":"https://api.github.com/users/gcazaciuc/orgs","repos_url":"https://api.github.com/users/gcazaciuc/repos","events_url":"https://api.github.com/users/gcazaciuc/events{/privacy}","received_events_url":"https://api.github.com/users/gcazaciuc/received_events","type":"User","site_admin":false},"body":"add a class for styling.\r\neg login-error instead of these many inline styles","created_at":"2016-03-24T20:26:10Z","updated_at":"2016-03-24T20:26:10Z","html_url":"https://github.com/SOFTVISION-University/cluj-pre-js-2016/pull/93#discussion_r57382132","pull_request_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/93","_links":{"self":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/comments/57382132"},"html":{"href":"https://github.com/SOFTVISION-University/cluj-pre-js-2016/pull/93#discussion_r57382132"},"pull_request":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/93","id":63911299,"html_url":"https://github.com/SOFTVISION-University/cluj-pre-js-2016/pull/93","diff_url":"https://github.com/SOFTVISION-University/cluj-pre-js-2016/pull/93.diff","patch_url":"https://github.com/SOFTVISION-University/cluj-pre-js-2016/pull/93.patch","issue_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/issues/93","number":93,"state":"open","locked":false,"title":"Adding OOP part 3","user":{"login":"mariuslucasv","id":17825280,"avatar_url":"https://avatars.githubusercontent.com/u/17825280?v=3","gravatar_id":"","url":"https://api.github.com/users/mariuslucasv","html_url":"https://github.com/mariuslucasv","followers_url":"https://api.github.com/users/mariuslucasv/followers","following_url":"https://api.github.com/users/mariuslucasv/following{/other_user}","gists_url":"https://api.github.com/users/mariuslucasv/gists{/gist_id}","starred_url":"https://api.github.com/users/mariuslucasv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariuslucasv/subscriptions","organizations_url":"https://api.github.com/users/mariuslucasv/orgs","repos_url":"https://api.github.com/users/mariuslucasv/repos","events_url":"https://api.github.com/users/mariuslucasv/events{/privacy}","received_events_url":"https://api.github.com/users/mariuslucasv/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-23T16:27:36Z","updated_at":"2016-03-24T20:26:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ffcdc8368dfb985c2fb765df25091215ef8ce8da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/93/commits","review_comments_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/93/comments","review_comment_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/issues/93/comments","statuses_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/statuses/bcc44bb125bb83b797ec377031f511648585e620","head":{"label":"mariuslucasv:master","ref":"master","sha":"bcc44bb125bb83b797ec377031f511648585e620","user":{"login":"mariuslucasv","id":17825280,"avatar_url":"https://avatars.githubusercontent.com/u/17825280?v=3","gravatar_id":"","url":"https://api.github.com/users/mariuslucasv","html_url":"https://github.com/mariuslucasv","followers_url":"https://api.github.com/users/mariuslucasv/followers","following_url":"https://api.github.com/users/mariuslucasv/following{/other_user}","gists_url":"https://api.github.com/users/mariuslucasv/gists{/gist_id}","starred_url":"https://api.github.com/users/mariuslucasv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariuslucasv/subscriptions","organizations_url":"https://api.github.com/users/mariuslucasv/orgs","repos_url":"https://api.github.com/users/mariuslucasv/repos","events_url":"https://api.github.com/users/mariuslucasv/events{/privacy}","received_events_url":"https://api.github.com/users/mariuslucasv/received_events","type":"User","site_admin":false},"repo":{"id":53844820,"name":"cluj-pre-js-2016","full_name":"mariuslucasv/cluj-pre-js-2016","owner":{"login":"mariuslucasv","id":17825280,"avatar_url":"https://avatars.githubusercontent.com/u/17825280?v=3","gravatar_id":"","url":"https://api.github.com/users/mariuslucasv","html_url":"https://github.com/mariuslucasv","followers_url":"https://api.github.com/users/mariuslucasv/followers","following_url":"https://api.github.com/users/mariuslucasv/following{/other_user}","gists_url":"https://api.github.com/users/mariuslucasv/gists{/gist_id}","starred_url":"https://api.github.com/users/mariuslucasv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariuslucasv/subscriptions","organizations_url":"https://api.github.com/users/mariuslucasv/orgs","repos_url":"https://api.github.com/users/mariuslucasv/repos","events_url":"https://api.github.com/users/mariuslucasv/events{/privacy}","received_events_url":"https://api.github.com/users/mariuslucasv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mariuslucasv/cluj-pre-js-2016","description":"Repository used for the 2016 JS pre-employment training in Cluj Napoca.","fork":true,"url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016","forks_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/forks","keys_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/teams","hooks_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/hooks","issue_events_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/issues/events{/number}","events_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/events","assignees_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/assignees{/user}","branches_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/branches{/branch}","tags_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/tags","blobs_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/languages","stargazers_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/stargazers","contributors_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/contributors","subscribers_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/subscribers","subscription_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/subscription","commits_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/contents/{+path}","compare_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/merges","archive_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/downloads","issues_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/issues{/number}","pulls_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/labels{/name}","releases_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/releases{/id}","deployments_url":"https://api.github.com/repos/mariuslucasv/cluj-pre-js-2016/deployments","created_at":"2016-03-14T09:50:53Z","updated_at":"2016-03-14T10:32:27Z","pushed_at":"2016-03-24T16:15:55Z","git_url":"git://github.com/mariuslucasv/cluj-pre-js-2016.git","ssh_url":"git@github.com:mariuslucasv/cluj-pre-js-2016.git","clone_url":"https://github.com/mariuslucasv/cluj-pre-js-2016.git","svn_url":"https://github.com/mariuslucasv/cluj-pre-js-2016","homepage":null,"size":9196,"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":"SOFTVISION-University:master","ref":"master","sha":"97d47b40b07c94b75066074fad0078a871e80993","user":{"login":"SOFTVISION-University","id":17495385,"avatar_url":"https://avatars.githubusercontent.com/u/17495385?v=3","gravatar_id":"","url":"https://api.github.com/users/SOFTVISION-University","html_url":"https://github.com/SOFTVISION-University","followers_url":"https://api.github.com/users/SOFTVISION-University/followers","following_url":"https://api.github.com/users/SOFTVISION-University/following{/other_user}","gists_url":"https://api.github.com/users/SOFTVISION-University/gists{/gist_id}","starred_url":"https://api.github.com/users/SOFTVISION-University/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SOFTVISION-University/subscriptions","organizations_url":"https://api.github.com/users/SOFTVISION-University/orgs","repos_url":"https://api.github.com/users/SOFTVISION-University/repos","events_url":"https://api.github.com/users/SOFTVISION-University/events{/privacy}","received_events_url":"https://api.github.com/users/SOFTVISION-University/received_events","type":"Organization","site_admin":false},"repo":{"id":53585573,"name":"cluj-pre-js-2016","full_name":"SOFTVISION-University/cluj-pre-js-2016","owner":{"login":"SOFTVISION-University","id":17495385,"avatar_url":"https://avatars.githubusercontent.com/u/17495385?v=3","gravatar_id":"","url":"https://api.github.com/users/SOFTVISION-University","html_url":"https://github.com/SOFTVISION-University","followers_url":"https://api.github.com/users/SOFTVISION-University/followers","following_url":"https://api.github.com/users/SOFTVISION-University/following{/other_user}","gists_url":"https://api.github.com/users/SOFTVISION-University/gists{/gist_id}","starred_url":"https://api.github.com/users/SOFTVISION-University/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SOFTVISION-University/subscriptions","organizations_url":"https://api.github.com/users/SOFTVISION-University/orgs","repos_url":"https://api.github.com/users/SOFTVISION-University/repos","events_url":"https://api.github.com/users/SOFTVISION-University/events{/privacy}","received_events_url":"https://api.github.com/users/SOFTVISION-University/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SOFTVISION-University/cluj-pre-js-2016","description":"Repository used for the 2016 JS pre-employment training in Cluj Napoca.","fork":false,"url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016","forks_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/forks","keys_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/teams","hooks_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/hooks","issue_events_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/issues/events{/number}","events_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/events","assignees_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/assignees{/user}","branches_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/branches{/branch}","tags_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/tags","blobs_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/languages","stargazers_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/stargazers","contributors_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/contributors","subscribers_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/subscribers","subscription_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/subscription","commits_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/contents/{+path}","compare_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/merges","archive_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/downloads","issues_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/issues{/number}","pulls_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/labels{/name}","releases_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/releases{/id}","deployments_url":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/deployments","created_at":"2016-03-10T13:14:40Z","updated_at":"2016-03-15T07:26:46Z","pushed_at":"2016-03-24T16:40:33Z","git_url":"git://github.com/SOFTVISION-University/cluj-pre-js-2016.git","ssh_url":"git@github.com:SOFTVISION-University/cluj-pre-js-2016.git","clone_url":"https://github.com/SOFTVISION-University/cluj-pre-js-2016.git","svn_url":"https://github.com/SOFTVISION-University/cluj-pre-js-2016","homepage":null,"size":10139,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":10,"forks":15,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/93"},"html":{"href":"https://github.com/SOFTVISION-University/cluj-pre-js-2016/pull/93"},"issue":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/issues/93"},"comments":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/SOFTVISION-University/cluj-pre-js-2016/statuses/bcc44bb125bb83b797ec377031f511648585e620"}}}}