{"action":"created","comment":{"url":"https://api.github.com/repos/s-espinosa/qbert/pulls/comments/70795065","id":70795065,"diff_hunk":"@@ -28,26 +28,43 @@ initialsButton.addEventListener('click', function(){\n \t\t'totalScore': $('#game-score').text()\n \t};\n \n-  var lsGames = localStorage.getItem('games') || '[]';\n-  var games = JSON.parse(lsGames);\n+  var standings = currentTopScores();","path":"lib/index.js","position":6,"original_position":6,"commit_id":"f04d0799649447b2b51d2ed12fba497de8f39868","original_commit_id":"f04d0799649447b2b51d2ed12fba497de8f39868","user":{"login":"s-espinosa","id":10855116,"avatar_url":"https://avatars.githubusercontent.com/u/10855116?v=3","gravatar_id":"","url":"https://api.github.com/users/s-espinosa","html_url":"https://github.com/s-espinosa","followers_url":"https://api.github.com/users/s-espinosa/followers","following_url":"https://api.github.com/users/s-espinosa/following{/other_user}","gists_url":"https://api.github.com/users/s-espinosa/gists{/gist_id}","starred_url":"https://api.github.com/users/s-espinosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-espinosa/subscriptions","organizations_url":"https://api.github.com/users/s-espinosa/orgs","repos_url":"https://api.github.com/users/s-espinosa/repos","events_url":"https://api.github.com/users/s-espinosa/events{/privacy}","received_events_url":"https://api.github.com/users/s-espinosa/received_events","type":"User","site_admin":false},"body":"Love it.","created_at":"2016-07-14T12:22:01Z","updated_at":"2016-07-14T12:22:01Z","html_url":"https://github.com/s-espinosa/qbert/pull/52#discussion_r70795065","pull_request_url":"https://api.github.com/repos/s-espinosa/qbert/pulls/52","_links":{"self":{"href":"https://api.github.com/repos/s-espinosa/qbert/pulls/comments/70795065"},"html":{"href":"https://github.com/s-espinosa/qbert/pull/52#discussion_r70795065"},"pull_request":{"href":"https://api.github.com/repos/s-espinosa/qbert/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/s-espinosa/qbert/pulls/52","id":77401551,"html_url":"https://github.com/s-espinosa/qbert/pull/52","diff_url":"https://github.com/s-espinosa/qbert/pull/52.diff","patch_url":"https://github.com/s-espinosa/qbert/pull/52.patch","issue_url":"https://api.github.com/repos/s-espinosa/qbert/issues/52","number":52,"state":"open","locked":false,"title":"Refactorization","user":{"login":"kamiboers","id":15680831,"avatar_url":"https://avatars.githubusercontent.com/u/15680831?v=3","gravatar_id":"","url":"https://api.github.com/users/kamiboers","html_url":"https://github.com/kamiboers","followers_url":"https://api.github.com/users/kamiboers/followers","following_url":"https://api.github.com/users/kamiboers/following{/other_user}","gists_url":"https://api.github.com/users/kamiboers/gists{/gist_id}","starred_url":"https://api.github.com/users/kamiboers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamiboers/subscriptions","organizations_url":"https://api.github.com/users/kamiboers/orgs","repos_url":"https://api.github.com/users/kamiboers/repos","events_url":"https://api.github.com/users/kamiboers/events{/privacy}","received_events_url":"https://api.github.com/users/kamiboers/received_events","type":"User","site_admin":false},"body":"- remove redundant score method\r\n- refactor ball class, board class and cube drawing method (cube class) to be more readable\r\n- refactor index.js initial save onclick method\r\n\r\nAll game function is maintained, all unit tests are still passing.","created_at":"2016-07-14T05:27:55Z","updated_at":"2016-07-14T12:22:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e4e969e809c55760898959c442c50f1dddebf00","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/s-espinosa/qbert/pulls/52/commits","review_comments_url":"https://api.github.com/repos/s-espinosa/qbert/pulls/52/comments","review_comment_url":"https://api.github.com/repos/s-espinosa/qbert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/s-espinosa/qbert/issues/52/comments","statuses_url":"https://api.github.com/repos/s-espinosa/qbert/statuses/f04d0799649447b2b51d2ed12fba497de8f39868","head":{"label":"s-espinosa:refactorization","ref":"refactorization","sha":"f04d0799649447b2b51d2ed12fba497de8f39868","user":{"login":"s-espinosa","id":10855116,"avatar_url":"https://avatars.githubusercontent.com/u/10855116?v=3","gravatar_id":"","url":"https://api.github.com/users/s-espinosa","html_url":"https://github.com/s-espinosa","followers_url":"https://api.github.com/users/s-espinosa/followers","following_url":"https://api.github.com/users/s-espinosa/following{/other_user}","gists_url":"https://api.github.com/users/s-espinosa/gists{/gist_id}","starred_url":"https://api.github.com/users/s-espinosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-espinosa/subscriptions","organizations_url":"https://api.github.com/users/s-espinosa/orgs","repos_url":"https://api.github.com/users/s-espinosa/repos","events_url":"https://api.github.com/users/s-espinosa/events{/privacy}","received_events_url":"https://api.github.com/users/s-espinosa/received_events","type":"User","site_admin":false},"repo":{"id":62662652,"name":"qbert","full_name":"s-espinosa/qbert","owner":{"login":"s-espinosa","id":10855116,"avatar_url":"https://avatars.githubusercontent.com/u/10855116?v=3","gravatar_id":"","url":"https://api.github.com/users/s-espinosa","html_url":"https://github.com/s-espinosa","followers_url":"https://api.github.com/users/s-espinosa/followers","following_url":"https://api.github.com/users/s-espinosa/following{/other_user}","gists_url":"https://api.github.com/users/s-espinosa/gists{/gist_id}","starred_url":"https://api.github.com/users/s-espinosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-espinosa/subscriptions","organizations_url":"https://api.github.com/users/s-espinosa/orgs","repos_url":"https://api.github.com/users/s-espinosa/repos","events_url":"https://api.github.com/users/s-espinosa/events{/privacy}","received_events_url":"https://api.github.com/users/s-espinosa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s-espinosa/qbert","description":null,"fork":false,"url":"https://api.github.com/repos/s-espinosa/qbert","forks_url":"https://api.github.com/repos/s-espinosa/qbert/forks","keys_url":"https://api.github.com/repos/s-espinosa/qbert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s-espinosa/qbert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s-espinosa/qbert/teams","hooks_url":"https://api.github.com/repos/s-espinosa/qbert/hooks","issue_events_url":"https://api.github.com/repos/s-espinosa/qbert/issues/events{/number}","events_url":"https://api.github.com/repos/s-espinosa/qbert/events","assignees_url":"https://api.github.com/repos/s-espinosa/qbert/assignees{/user}","branches_url":"https://api.github.com/repos/s-espinosa/qbert/branches{/branch}","tags_url":"https://api.github.com/repos/s-espinosa/qbert/tags","blobs_url":"https://api.github.com/repos/s-espinosa/qbert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s-espinosa/qbert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s-espinosa/qbert/git/refs{/sha}","trees_url":"https://api.github.com/repos/s-espinosa/qbert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s-espinosa/qbert/statuses/{sha}","languages_url":"https://api.github.com/repos/s-espinosa/qbert/languages","stargazers_url":"https://api.github.com/repos/s-espinosa/qbert/stargazers","contributors_url":"https://api.github.com/repos/s-espinosa/qbert/contributors","subscribers_url":"https://api.github.com/repos/s-espinosa/qbert/subscribers","subscription_url":"https://api.github.com/repos/s-espinosa/qbert/subscription","commits_url":"https://api.github.com/repos/s-espinosa/qbert/commits{/sha}","git_commits_url":"https://api.github.com/repos/s-espinosa/qbert/git/commits{/sha}","comments_url":"https://api.github.com/repos/s-espinosa/qbert/comments{/number}","issue_comment_url":"https://api.github.com/repos/s-espinosa/qbert/issues/comments{/number}","contents_url":"https://api.github.com/repos/s-espinosa/qbert/contents/{+path}","compare_url":"https://api.github.com/repos/s-espinosa/qbert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s-espinosa/qbert/merges","archive_url":"https://api.github.com/repos/s-espinosa/qbert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s-espinosa/qbert/downloads","issues_url":"https://api.github.com/repos/s-espinosa/qbert/issues{/number}","pulls_url":"https://api.github.com/repos/s-espinosa/qbert/pulls{/number}","milestones_url":"https://api.github.com/repos/s-espinosa/qbert/milestones{/number}","notifications_url":"https://api.github.com/repos/s-espinosa/qbert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s-espinosa/qbert/labels{/name}","releases_url":"https://api.github.com/repos/s-espinosa/qbert/releases{/id}","deployments_url":"https://api.github.com/repos/s-espinosa/qbert/deployments","created_at":"2016-07-05T19:12:09Z","updated_at":"2016-07-05T19:12:53Z","pushed_at":"2016-07-14T12:02:53Z","git_url":"git://github.com/s-espinosa/qbert.git","ssh_url":"git@github.com:s-espinosa/qbert.git","clone_url":"https://github.com/s-espinosa/qbert.git","svn_url":"https://github.com/s-espinosa/qbert","homepage":null,"size":574,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"s-espinosa:master","ref":"master","sha":"b279919d82c674d5d90d9fd902298cb3a8497955","user":{"login":"s-espinosa","id":10855116,"avatar_url":"https://avatars.githubusercontent.com/u/10855116?v=3","gravatar_id":"","url":"https://api.github.com/users/s-espinosa","html_url":"https://github.com/s-espinosa","followers_url":"https://api.github.com/users/s-espinosa/followers","following_url":"https://api.github.com/users/s-espinosa/following{/other_user}","gists_url":"https://api.github.com/users/s-espinosa/gists{/gist_id}","starred_url":"https://api.github.com/users/s-espinosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-espinosa/subscriptions","organizations_url":"https://api.github.com/users/s-espinosa/orgs","repos_url":"https://api.github.com/users/s-espinosa/repos","events_url":"https://api.github.com/users/s-espinosa/events{/privacy}","received_events_url":"https://api.github.com/users/s-espinosa/received_events","type":"User","site_admin":false},"repo":{"id":62662652,"name":"qbert","full_name":"s-espinosa/qbert","owner":{"login":"s-espinosa","id":10855116,"avatar_url":"https://avatars.githubusercontent.com/u/10855116?v=3","gravatar_id":"","url":"https://api.github.com/users/s-espinosa","html_url":"https://github.com/s-espinosa","followers_url":"https://api.github.com/users/s-espinosa/followers","following_url":"https://api.github.com/users/s-espinosa/following{/other_user}","gists_url":"https://api.github.com/users/s-espinosa/gists{/gist_id}","starred_url":"https://api.github.com/users/s-espinosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-espinosa/subscriptions","organizations_url":"https://api.github.com/users/s-espinosa/orgs","repos_url":"https://api.github.com/users/s-espinosa/repos","events_url":"https://api.github.com/users/s-espinosa/events{/privacy}","received_events_url":"https://api.github.com/users/s-espinosa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s-espinosa/qbert","description":null,"fork":false,"url":"https://api.github.com/repos/s-espinosa/qbert","forks_url":"https://api.github.com/repos/s-espinosa/qbert/forks","keys_url":"https://api.github.com/repos/s-espinosa/qbert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s-espinosa/qbert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s-espinosa/qbert/teams","hooks_url":"https://api.github.com/repos/s-espinosa/qbert/hooks","issue_events_url":"https://api.github.com/repos/s-espinosa/qbert/issues/events{/number}","events_url":"https://api.github.com/repos/s-espinosa/qbert/events","assignees_url":"https://api.github.com/repos/s-espinosa/qbert/assignees{/user}","branches_url":"https://api.github.com/repos/s-espinosa/qbert/branches{/branch}","tags_url":"https://api.github.com/repos/s-espinosa/qbert/tags","blobs_url":"https://api.github.com/repos/s-espinosa/qbert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s-espinosa/qbert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s-espinosa/qbert/git/refs{/sha}","trees_url":"https://api.github.com/repos/s-espinosa/qbert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s-espinosa/qbert/statuses/{sha}","languages_url":"https://api.github.com/repos/s-espinosa/qbert/languages","stargazers_url":"https://api.github.com/repos/s-espinosa/qbert/stargazers","contributors_url":"https://api.github.com/repos/s-espinosa/qbert/contributors","subscribers_url":"https://api.github.com/repos/s-espinosa/qbert/subscribers","subscription_url":"https://api.github.com/repos/s-espinosa/qbert/subscription","commits_url":"https://api.github.com/repos/s-espinosa/qbert/commits{/sha}","git_commits_url":"https://api.github.com/repos/s-espinosa/qbert/git/commits{/sha}","comments_url":"https://api.github.com/repos/s-espinosa/qbert/comments{/number}","issue_comment_url":"https://api.github.com/repos/s-espinosa/qbert/issues/comments{/number}","contents_url":"https://api.github.com/repos/s-espinosa/qbert/contents/{+path}","compare_url":"https://api.github.com/repos/s-espinosa/qbert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s-espinosa/qbert/merges","archive_url":"https://api.github.com/repos/s-espinosa/qbert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s-espinosa/qbert/downloads","issues_url":"https://api.github.com/repos/s-espinosa/qbert/issues{/number}","pulls_url":"https://api.github.com/repos/s-espinosa/qbert/pulls{/number}","milestones_url":"https://api.github.com/repos/s-espinosa/qbert/milestones{/number}","notifications_url":"https://api.github.com/repos/s-espinosa/qbert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s-espinosa/qbert/labels{/name}","releases_url":"https://api.github.com/repos/s-espinosa/qbert/releases{/id}","deployments_url":"https://api.github.com/repos/s-espinosa/qbert/deployments","created_at":"2016-07-05T19:12:09Z","updated_at":"2016-07-05T19:12:53Z","pushed_at":"2016-07-14T12:02:53Z","git_url":"git://github.com/s-espinosa/qbert.git","ssh_url":"git@github.com:s-espinosa/qbert.git","clone_url":"https://github.com/s-espinosa/qbert.git","svn_url":"https://github.com/s-espinosa/qbert","homepage":null,"size":574,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/s-espinosa/qbert/pulls/52"},"html":{"href":"https://github.com/s-espinosa/qbert/pull/52"},"issue":{"href":"https://api.github.com/repos/s-espinosa/qbert/issues/52"},"comments":{"href":"https://api.github.com/repos/s-espinosa/qbert/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/s-espinosa/qbert/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/s-espinosa/qbert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/s-espinosa/qbert/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/s-espinosa/qbert/statuses/f04d0799649447b2b51d2ed12fba497de8f39868"}}}}
{"actor":{"display_login":"s-espinosa"}}