{"action":"created","comment":{"url":"https://api.github.com/repos/jardg/tennis/pulls/comments/45276593","id":45276593,"diff_hunk":"@@ -0,0 +1,27 @@\n+import {Match} from './Match.js';\n+export class Round{\n+  constructor(numberofMatches){\n+    this._numberofMatches=numberofMatches;\n+    this._Matches=[];\n+  }\n+  get numberofMatches() {\n+      return this._numberofMatches;\n+  }\n+  set numberofMatches(numberofMatches) {\n+      this._numberofMatches = numberofMatches;\n+  }\n+  get Matches() {\n+      return this._Matches;\n+  }\n+  set Matches(Matches) {\n+      this._Matches = Matches;\n+  }\n+  generateMatches(){\n+    for(var i=0;i<this.numberofMatches;i++){\n+      this._Matches.push(new Match());\n+    }","path":"app/Round.js","position":22,"original_position":22,"commit_id":"fdc6d10afd5ad23c3300fc032f79b4948e52df60","original_commit_id":"fdc6d10afd5ad23c3300fc032f79b4948e52df60","user":{"login":"pablonete","id":579705,"avatar_url":"https://avatars.githubusercontent.com/u/579705?v=3","gravatar_id":"","url":"https://api.github.com/users/pablonete","html_url":"https://github.com/pablonete","followers_url":"https://api.github.com/users/pablonete/followers","following_url":"https://api.github.com/users/pablonete/following{/other_user}","gists_url":"https://api.github.com/users/pablonete/gists{/gist_id}","starred_url":"https://api.github.com/users/pablonete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablonete/subscriptions","organizations_url":"https://api.github.com/users/pablonete/orgs","repos_url":"https://api.github.com/users/pablonete/repos","events_url":"https://api.github.com/users/pablonete/events{/privacy}","received_events_url":"https://api.github.com/users/pablonete/received_events","type":"User","site_admin":false},"body":"What if I wrongly call this method twice?","created_at":"2015-11-18T23:18:24Z","updated_at":"2015-11-18T23:18:24Z","html_url":"https://github.com/jardg/tennis/pull/4#discussion_r45276593","pull_request_url":"https://api.github.com/repos/jardg/tennis/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/jardg/tennis/pulls/comments/45276593"},"html":{"href":"https://github.com/jardg/tennis/pull/4#discussion_r45276593"},"pull_request":{"href":"https://api.github.com/repos/jardg/tennis/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/jardg/tennis/pulls/4","id":50756959,"html_url":"https://github.com/jardg/tennis/pull/4","diff_url":"https://github.com/jardg/tennis/pull/4.diff","patch_url":"https://github.com/jardg/tennis/pull/4.patch","issue_url":"https://api.github.com/repos/jardg/tennis/issues/4","number":4,"state":"open","locked":false,"title":"Firstandsecondpoint","user":{"login":"jardg","id":6726578,"avatar_url":"https://avatars.githubusercontent.com/u/6726578?v=3","gravatar_id":"","url":"https://api.github.com/users/jardg","html_url":"https://github.com/jardg","followers_url":"https://api.github.com/users/jardg/followers","following_url":"https://api.github.com/users/jardg/following{/other_user}","gists_url":"https://api.github.com/users/jardg/gists{/gist_id}","starred_url":"https://api.github.com/users/jardg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jardg/subscriptions","organizations_url":"https://api.github.com/users/jardg/orgs","repos_url":"https://api.github.com/users/jardg/repos","events_url":"https://api.github.com/users/jardg/events{/privacy}","received_events_url":"https://api.github.com/users/jardg/received_events","type":"User","site_admin":false},"body":"The program complete for 2^n players. I would like to make some tests but I was unable to make them since I got errors importing the classes in the specs due to compatibility between jasmine and node.\r\n","created_at":"2015-11-15T21:32:11Z","updated_at":"2015-11-18T23:18:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f14bbc4a7a8bb2d972e1ddab42dedeb684cfc16","assignee":{"login":"pablonete","id":579705,"avatar_url":"https://avatars.githubusercontent.com/u/579705?v=3","gravatar_id":"","url":"https://api.github.com/users/pablonete","html_url":"https://github.com/pablonete","followers_url":"https://api.github.com/users/pablonete/followers","following_url":"https://api.github.com/users/pablonete/following{/other_user}","gists_url":"https://api.github.com/users/pablonete/gists{/gist_id}","starred_url":"https://api.github.com/users/pablonete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablonete/subscriptions","organizations_url":"https://api.github.com/users/pablonete/orgs","repos_url":"https://api.github.com/users/pablonete/repos","events_url":"https://api.github.com/users/pablonete/events{/privacy}","received_events_url":"https://api.github.com/users/pablonete/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/jardg/tennis/pulls/4/commits","review_comments_url":"https://api.github.com/repos/jardg/tennis/pulls/4/comments","review_comment_url":"https://api.github.com/repos/jardg/tennis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jardg/tennis/issues/4/comments","statuses_url":"https://api.github.com/repos/jardg/tennis/statuses/fdc6d10afd5ad23c3300fc032f79b4948e52df60","head":{"label":"jardg:firstandsecondpoint","ref":"firstandsecondpoint","sha":"fdc6d10afd5ad23c3300fc032f79b4948e52df60","user":{"login":"jardg","id":6726578,"avatar_url":"https://avatars.githubusercontent.com/u/6726578?v=3","gravatar_id":"","url":"https://api.github.com/users/jardg","html_url":"https://github.com/jardg","followers_url":"https://api.github.com/users/jardg/followers","following_url":"https://api.github.com/users/jardg/following{/other_user}","gists_url":"https://api.github.com/users/jardg/gists{/gist_id}","starred_url":"https://api.github.com/users/jardg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jardg/subscriptions","organizations_url":"https://api.github.com/users/jardg/orgs","repos_url":"https://api.github.com/users/jardg/repos","events_url":"https://api.github.com/users/jardg/events{/privacy}","received_events_url":"https://api.github.com/users/jardg/received_events","type":"User","site_admin":false},"repo":{"id":45751282,"name":"tennis","full_name":"jardg/tennis","owner":{"login":"jardg","id":6726578,"avatar_url":"https://avatars.githubusercontent.com/u/6726578?v=3","gravatar_id":"","url":"https://api.github.com/users/jardg","html_url":"https://github.com/jardg","followers_url":"https://api.github.com/users/jardg/followers","following_url":"https://api.github.com/users/jardg/following{/other_user}","gists_url":"https://api.github.com/users/jardg/gists{/gist_id}","starred_url":"https://api.github.com/users/jardg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jardg/subscriptions","organizations_url":"https://api.github.com/users/jardg/orgs","repos_url":"https://api.github.com/users/jardg/repos","events_url":"https://api.github.com/users/jardg/events{/privacy}","received_events_url":"https://api.github.com/users/jardg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jardg/tennis","description":"","fork":false,"url":"https://api.github.com/repos/jardg/tennis","forks_url":"https://api.github.com/repos/jardg/tennis/forks","keys_url":"https://api.github.com/repos/jardg/tennis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jardg/tennis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jardg/tennis/teams","hooks_url":"https://api.github.com/repos/jardg/tennis/hooks","issue_events_url":"https://api.github.com/repos/jardg/tennis/issues/events{/number}","events_url":"https://api.github.com/repos/jardg/tennis/events","assignees_url":"https://api.github.com/repos/jardg/tennis/assignees{/user}","branches_url":"https://api.github.com/repos/jardg/tennis/branches{/branch}","tags_url":"https://api.github.com/repos/jardg/tennis/tags","blobs_url":"https://api.github.com/repos/jardg/tennis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jardg/tennis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jardg/tennis/git/refs{/sha}","trees_url":"https://api.github.com/repos/jardg/tennis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jardg/tennis/statuses/{sha}","languages_url":"https://api.github.com/repos/jardg/tennis/languages","stargazers_url":"https://api.github.com/repos/jardg/tennis/stargazers","contributors_url":"https://api.github.com/repos/jardg/tennis/contributors","subscribers_url":"https://api.github.com/repos/jardg/tennis/subscribers","subscription_url":"https://api.github.com/repos/jardg/tennis/subscription","commits_url":"https://api.github.com/repos/jardg/tennis/commits{/sha}","git_commits_url":"https://api.github.com/repos/jardg/tennis/git/commits{/sha}","comments_url":"https://api.github.com/repos/jardg/tennis/comments{/number}","issue_comment_url":"https://api.github.com/repos/jardg/tennis/issues/comments{/number}","contents_url":"https://api.github.com/repos/jardg/tennis/contents/{+path}","compare_url":"https://api.github.com/repos/jardg/tennis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jardg/tennis/merges","archive_url":"https://api.github.com/repos/jardg/tennis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jardg/tennis/downloads","issues_url":"https://api.github.com/repos/jardg/tennis/issues{/number}","pulls_url":"https://api.github.com/repos/jardg/tennis/pulls{/number}","milestones_url":"https://api.github.com/repos/jardg/tennis/milestones{/number}","notifications_url":"https://api.github.com/repos/jardg/tennis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jardg/tennis/labels{/name}","releases_url":"https://api.github.com/repos/jardg/tennis/releases{/id}","created_at":"2015-11-07T19:33:55Z","updated_at":"2015-11-07T19:35:15Z","pushed_at":"2015-11-15T21:32:12Z","git_url":"git://github.com/jardg/tennis.git","ssh_url":"git@github.com:jardg/tennis.git","clone_url":"https://github.com/jardg/tennis.git","svn_url":"https://github.com/jardg/tennis","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jardg:master","ref":"master","sha":"178ea221271f17c3b45c1dabdc4f5c295049f78f","user":{"login":"jardg","id":6726578,"avatar_url":"https://avatars.githubusercontent.com/u/6726578?v=3","gravatar_id":"","url":"https://api.github.com/users/jardg","html_url":"https://github.com/jardg","followers_url":"https://api.github.com/users/jardg/followers","following_url":"https://api.github.com/users/jardg/following{/other_user}","gists_url":"https://api.github.com/users/jardg/gists{/gist_id}","starred_url":"https://api.github.com/users/jardg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jardg/subscriptions","organizations_url":"https://api.github.com/users/jardg/orgs","repos_url":"https://api.github.com/users/jardg/repos","events_url":"https://api.github.com/users/jardg/events{/privacy}","received_events_url":"https://api.github.com/users/jardg/received_events","type":"User","site_admin":false},"repo":{"id":45751282,"name":"tennis","full_name":"jardg/tennis","owner":{"login":"jardg","id":6726578,"avatar_url":"https://avatars.githubusercontent.com/u/6726578?v=3","gravatar_id":"","url":"https://api.github.com/users/jardg","html_url":"https://github.com/jardg","followers_url":"https://api.github.com/users/jardg/followers","following_url":"https://api.github.com/users/jardg/following{/other_user}","gists_url":"https://api.github.com/users/jardg/gists{/gist_id}","starred_url":"https://api.github.com/users/jardg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jardg/subscriptions","organizations_url":"https://api.github.com/users/jardg/orgs","repos_url":"https://api.github.com/users/jardg/repos","events_url":"https://api.github.com/users/jardg/events{/privacy}","received_events_url":"https://api.github.com/users/jardg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jardg/tennis","description":"","fork":false,"url":"https://api.github.com/repos/jardg/tennis","forks_url":"https://api.github.com/repos/jardg/tennis/forks","keys_url":"https://api.github.com/repos/jardg/tennis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jardg/tennis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jardg/tennis/teams","hooks_url":"https://api.github.com/repos/jardg/tennis/hooks","issue_events_url":"https://api.github.com/repos/jardg/tennis/issues/events{/number}","events_url":"https://api.github.com/repos/jardg/tennis/events","assignees_url":"https://api.github.com/repos/jardg/tennis/assignees{/user}","branches_url":"https://api.github.com/repos/jardg/tennis/branches{/branch}","tags_url":"https://api.github.com/repos/jardg/tennis/tags","blobs_url":"https://api.github.com/repos/jardg/tennis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jardg/tennis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jardg/tennis/git/refs{/sha}","trees_url":"https://api.github.com/repos/jardg/tennis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jardg/tennis/statuses/{sha}","languages_url":"https://api.github.com/repos/jardg/tennis/languages","stargazers_url":"https://api.github.com/repos/jardg/tennis/stargazers","contributors_url":"https://api.github.com/repos/jardg/tennis/contributors","subscribers_url":"https://api.github.com/repos/jardg/tennis/subscribers","subscription_url":"https://api.github.com/repos/jardg/tennis/subscription","commits_url":"https://api.github.com/repos/jardg/tennis/commits{/sha}","git_commits_url":"https://api.github.com/repos/jardg/tennis/git/commits{/sha}","comments_url":"https://api.github.com/repos/jardg/tennis/comments{/number}","issue_comment_url":"https://api.github.com/repos/jardg/tennis/issues/comments{/number}","contents_url":"https://api.github.com/repos/jardg/tennis/contents/{+path}","compare_url":"https://api.github.com/repos/jardg/tennis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jardg/tennis/merges","archive_url":"https://api.github.com/repos/jardg/tennis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jardg/tennis/downloads","issues_url":"https://api.github.com/repos/jardg/tennis/issues{/number}","pulls_url":"https://api.github.com/repos/jardg/tennis/pulls{/number}","milestones_url":"https://api.github.com/repos/jardg/tennis/milestones{/number}","notifications_url":"https://api.github.com/repos/jardg/tennis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jardg/tennis/labels{/name}","releases_url":"https://api.github.com/repos/jardg/tennis/releases{/id}","created_at":"2015-11-07T19:33:55Z","updated_at":"2015-11-07T19:35:15Z","pushed_at":"2015-11-15T21:32:12Z","git_url":"git://github.com/jardg/tennis.git","ssh_url":"git@github.com:jardg/tennis.git","clone_url":"https://github.com/jardg/tennis.git","svn_url":"https://github.com/jardg/tennis","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jardg/tennis/pulls/4"},"html":{"href":"https://github.com/jardg/tennis/pull/4"},"issue":{"href":"https://api.github.com/repos/jardg/tennis/issues/4"},"comments":{"href":"https://api.github.com/repos/jardg/tennis/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/jardg/tennis/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/jardg/tennis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jardg/tennis/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/jardg/tennis/statuses/fdc6d10afd5ad23c3300fc032f79b4948e52df60"}}}}