{"action":"created","comment":{"url":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/comments/115471535","pull_request_review_id":37005491,"id":115471535,"diff_hunk":"@@ -37,52 +50,97 @@ let singletonField = (function(){\n     };\n \n     return {\n-        getInstance: function(){\n+        getInstance: function(rows, columns){","path":"source/model.js","position":59,"original_position":59,"commit_id":"a5ad51e3ff2bb2c2dcf76c90a5033bbd138601fa","original_commit_id":"a5ad51e3ff2bb2c2dcf76c90a5033bbd138601fa","user":{"login":"aannenko","id":4640265,"avatar_url":"https://avatars1.githubusercontent.com/u/4640265?v=3","gravatar_id":"","url":"https://api.github.com/users/aannenko","html_url":"https://github.com/aannenko","followers_url":"https://api.github.com/users/aannenko/followers","following_url":"https://api.github.com/users/aannenko/following{/other_user}","gists_url":"https://api.github.com/users/aannenko/gists{/gist_id}","starred_url":"https://api.github.com/users/aannenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aannenko/subscriptions","organizations_url":"https://api.github.com/users/aannenko/orgs","repos_url":"https://api.github.com/users/aannenko/repos","events_url":"https://api.github.com/users/aannenko/events{/privacy}","received_events_url":"https://api.github.com/users/aannenko/received_events","type":"User","site_admin":false},"body":"Singletone's `getInstance` can't contain parameters. There should be a better approach. I have a suggestion about this...","created_at":"2017-05-09T12:06:14Z","updated_at":"2017-05-09T12:36:55Z","html_url":"https://github.com/aannenko/noughts-and-crosses/pull/11#discussion_r115471535","pull_request_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/comments/115471535"},"html":{"href":"https://github.com/aannenko/noughts-and-crosses/pull/11#discussion_r115471535"},"pull_request":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/11","id":119636220,"html_url":"https://github.com/aannenko/noughts-and-crosses/pull/11","diff_url":"https://github.com/aannenko/noughts-and-crosses/pull/11.diff","patch_url":"https://github.com/aannenko/noughts-and-crosses/pull/11.patch","issue_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/issues/11","number":11,"state":"open","locked":false,"title":"Task: Field should allow to set amount of its rows and columns. #8","user":{"login":"KassandraA","id":10401076,"avatar_url":"https://avatars0.githubusercontent.com/u/10401076?v=3","gravatar_id":"","url":"https://api.github.com/users/KassandraA","html_url":"https://github.com/KassandraA","followers_url":"https://api.github.com/users/KassandraA/followers","following_url":"https://api.github.com/users/KassandraA/following{/other_user}","gists_url":"https://api.github.com/users/KassandraA/gists{/gist_id}","starred_url":"https://api.github.com/users/KassandraA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KassandraA/subscriptions","organizations_url":"https://api.github.com/users/KassandraA/orgs","repos_url":"https://api.github.com/users/KassandraA/repos","events_url":"https://api.github.com/users/KassandraA/events{/privacy}","received_events_url":"https://api.github.com/users/KassandraA/received_events","type":"User","site_admin":false},"body":"Rebuild model with new WinnerChacker and adjustable rows and columns.","created_at":"2017-05-09T11:12:29Z","updated_at":"2017-05-09T12:36:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e557ac845660476924e305ad4ac385e4bb24fdc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/11/commits","review_comments_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/11/comments","review_comment_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/issues/11/comments","statuses_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/statuses/a5ad51e3ff2bb2c2dcf76c90a5033bbd138601fa","head":{"label":"KassandraA:Field_should_allow_set_rows_and_columns_#8","ref":"Field_should_allow_set_rows_and_columns_#8","sha":"a5ad51e3ff2bb2c2dcf76c90a5033bbd138601fa","user":{"login":"KassandraA","id":10401076,"avatar_url":"https://avatars0.githubusercontent.com/u/10401076?v=3","gravatar_id":"","url":"https://api.github.com/users/KassandraA","html_url":"https://github.com/KassandraA","followers_url":"https://api.github.com/users/KassandraA/followers","following_url":"https://api.github.com/users/KassandraA/following{/other_user}","gists_url":"https://api.github.com/users/KassandraA/gists{/gist_id}","starred_url":"https://api.github.com/users/KassandraA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KassandraA/subscriptions","organizations_url":"https://api.github.com/users/KassandraA/orgs","repos_url":"https://api.github.com/users/KassandraA/repos","events_url":"https://api.github.com/users/KassandraA/events{/privacy}","received_events_url":"https://api.github.com/users/KassandraA/received_events","type":"User","site_admin":false},"repo":{"id":83046898,"name":"noughts-and-crosses-1","full_name":"KassandraA/noughts-and-crosses-1","owner":{"login":"KassandraA","id":10401076,"avatar_url":"https://avatars0.githubusercontent.com/u/10401076?v=3","gravatar_id":"","url":"https://api.github.com/users/KassandraA","html_url":"https://github.com/KassandraA","followers_url":"https://api.github.com/users/KassandraA/followers","following_url":"https://api.github.com/users/KassandraA/following{/other_user}","gists_url":"https://api.github.com/users/KassandraA/gists{/gist_id}","starred_url":"https://api.github.com/users/KassandraA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KassandraA/subscriptions","organizations_url":"https://api.github.com/users/KassandraA/orgs","repos_url":"https://api.github.com/users/KassandraA/repos","events_url":"https://api.github.com/users/KassandraA/events{/privacy}","received_events_url":"https://api.github.com/users/KassandraA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KassandraA/noughts-and-crosses-1","description":"A classic game of noughts and crosses made with HTML/CSS/JS","fork":true,"url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1","forks_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/forks","keys_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/teams","hooks_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/hooks","issue_events_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/issues/events{/number}","events_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/events","assignees_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/assignees{/user}","branches_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/branches{/branch}","tags_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/tags","blobs_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/statuses/{sha}","languages_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/languages","stargazers_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/stargazers","contributors_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/contributors","subscribers_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/subscribers","subscription_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/subscription","commits_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/contents/{+path}","compare_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/merges","archive_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/downloads","issues_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/issues{/number}","pulls_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/pulls{/number}","milestones_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/milestones{/number}","notifications_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/labels{/name}","releases_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/releases{/id}","deployments_url":"https://api.github.com/repos/KassandraA/noughts-and-crosses-1/deployments","created_at":"2017-02-24T14:01:20Z","updated_at":"2017-02-24T14:12:08Z","pushed_at":"2017-05-09T11:06:21Z","git_url":"git://github.com/KassandraA/noughts-and-crosses-1.git","ssh_url":"git@github.com:KassandraA/noughts-and-crosses-1.git","clone_url":"https://github.com/KassandraA/noughts-and-crosses-1.git","svn_url":"https://github.com/KassandraA/noughts-and-crosses-1","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"aannenko:master","ref":"master","sha":"c98aa6c4df72c09f0d63ba4805a58a55ad96b31a","user":{"login":"aannenko","id":4640265,"avatar_url":"https://avatars1.githubusercontent.com/u/4640265?v=3","gravatar_id":"","url":"https://api.github.com/users/aannenko","html_url":"https://github.com/aannenko","followers_url":"https://api.github.com/users/aannenko/followers","following_url":"https://api.github.com/users/aannenko/following{/other_user}","gists_url":"https://api.github.com/users/aannenko/gists{/gist_id}","starred_url":"https://api.github.com/users/aannenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aannenko/subscriptions","organizations_url":"https://api.github.com/users/aannenko/orgs","repos_url":"https://api.github.com/users/aannenko/repos","events_url":"https://api.github.com/users/aannenko/events{/privacy}","received_events_url":"https://api.github.com/users/aannenko/received_events","type":"User","site_admin":false},"repo":{"id":83045415,"name":"noughts-and-crosses","full_name":"aannenko/noughts-and-crosses","owner":{"login":"aannenko","id":4640265,"avatar_url":"https://avatars1.githubusercontent.com/u/4640265?v=3","gravatar_id":"","url":"https://api.github.com/users/aannenko","html_url":"https://github.com/aannenko","followers_url":"https://api.github.com/users/aannenko/followers","following_url":"https://api.github.com/users/aannenko/following{/other_user}","gists_url":"https://api.github.com/users/aannenko/gists{/gist_id}","starred_url":"https://api.github.com/users/aannenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aannenko/subscriptions","organizations_url":"https://api.github.com/users/aannenko/orgs","repos_url":"https://api.github.com/users/aannenko/repos","events_url":"https://api.github.com/users/aannenko/events{/privacy}","received_events_url":"https://api.github.com/users/aannenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aannenko/noughts-and-crosses","description":"A classic game of noughts and crosses made with HTML/CSS/JS","fork":false,"url":"https://api.github.com/repos/aannenko/noughts-and-crosses","forks_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/forks","keys_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/teams","hooks_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/hooks","issue_events_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/issues/events{/number}","events_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/events","assignees_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/assignees{/user}","branches_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/branches{/branch}","tags_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/tags","blobs_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/git/refs{/sha}","trees_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/statuses/{sha}","languages_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/languages","stargazers_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/stargazers","contributors_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/contributors","subscribers_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/subscribers","subscription_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/subscription","commits_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/commits{/sha}","git_commits_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/git/commits{/sha}","comments_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/comments{/number}","issue_comment_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/issues/comments{/number}","contents_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/contents/{+path}","compare_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/merges","archive_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/downloads","issues_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/issues{/number}","pulls_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls{/number}","milestones_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/milestones{/number}","notifications_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/labels{/name}","releases_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/releases{/id}","deployments_url":"https://api.github.com/repos/aannenko/noughts-and-crosses/deployments","created_at":"2017-02-24T13:44:43Z","updated_at":"2017-02-24T20:34:05Z","pushed_at":"2017-05-09T11:12:30Z","git_url":"git://github.com/aannenko/noughts-and-crosses.git","ssh_url":"git@github.com:aannenko/noughts-and-crosses.git","clone_url":"https://github.com/aannenko/noughts-and-crosses.git","svn_url":"https://github.com/aannenko/noughts-and-crosses","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/11"},"html":{"href":"https://github.com/aannenko/noughts-and-crosses/pull/11"},"issue":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/issues/11"},"comments":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/aannenko/noughts-and-crosses/statuses/a5ad51e3ff2bb2c2dcf76c90a5033bbd138601fa"}}}}
{"actor":{"display_login":"aannenko"}}