{"action":"created","comment":{"url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/comments/175486264","pull_request_review_id":105022429,"id":175486264,"diff_hunk":"@@ -0,0 +1,24 @@\n+/*\n+* test module for changing the width of bars\n+*/\n+const ChartFactory = require('../../../helpers/chartFactory');\n+const _  = require('lodash');\n+\n+const setBarWidth = (chart, params) => {\n+ return chart;\n+  _.each(chart.data, (d) => {\n+    d.width = params.newBarWidth;\n+    console.log(params.newBarWidth);","path":"app/assets/scripts/modules/changeBarWidth.js","position":11,"original_position":11,"commit_id":"08e3a0449118fd78ba9dd7038e1b31146dd7cc73","original_commit_id":"08e3a0449118fd78ba9dd7038e1b31146dd7cc73","user":{"login":"AhmetTanakol","id":10375761,"avatar_url":"https://avatars2.githubusercontent.com/u/10375761?v=4","gravatar_id":"","url":"https://api.github.com/users/AhmetTanakol","html_url":"https://github.com/AhmetTanakol","followers_url":"https://api.github.com/users/AhmetTanakol/followers","following_url":"https://api.github.com/users/AhmetTanakol/following{/other_user}","gists_url":"https://api.github.com/users/AhmetTanakol/gists{/gist_id}","starred_url":"https://api.github.com/users/AhmetTanakol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AhmetTanakol/subscriptions","organizations_url":"https://api.github.com/users/AhmetTanakol/orgs","repos_url":"https://api.github.com/users/AhmetTanakol/repos","events_url":"https://api.github.com/users/AhmetTanakol/events{/privacy}","received_events_url":"https://api.github.com/users/AhmetTanakol/received_events","type":"User","site_admin":false},"body":"you can remove `console.log`","created_at":"2018-03-19T15:53:17Z","updated_at":"2018-03-19T15:55:06Z","html_url":"https://github.com/Rostlab/JS18_ProjectB_Group3/pull/44#discussion_r175486264","pull_request_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/44","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/comments/175486264"},"html":{"href":"https://github.com/Rostlab/JS18_ProjectB_Group3/pull/44#discussion_r175486264"},"pull_request":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/44","id":174898852,"html_url":"https://github.com/Rostlab/JS18_ProjectB_Group3/pull/44","diff_url":"https://github.com/Rostlab/JS18_ProjectB_Group3/pull/44.diff","patch_url":"https://github.com/Rostlab/JS18_ProjectB_Group3/pull/44.patch","issue_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues/44","number":44,"state":"open","locked":false,"title":"function to change width of bars in barchart","user":{"login":"ayisharuna","id":3014709,"avatar_url":"https://avatars0.githubusercontent.com/u/3014709?v=4","gravatar_id":"","url":"https://api.github.com/users/ayisharuna","html_url":"https://github.com/ayisharuna","followers_url":"https://api.github.com/users/ayisharuna/followers","following_url":"https://api.github.com/users/ayisharuna/following{/other_user}","gists_url":"https://api.github.com/users/ayisharuna/gists{/gist_id}","starred_url":"https://api.github.com/users/ayisharuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayisharuna/subscriptions","organizations_url":"https://api.github.com/users/ayisharuna/orgs","repos_url":"https://api.github.com/users/ayisharuna/repos","events_url":"https://api.github.com/users/ayisharuna/events{/privacy}","received_events_url":"https://api.github.com/users/ayisharuna/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-14T09:40:29Z","updated_at":"2018-03-19T15:55:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/44/commits","review_comments_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/44/comments","review_comment_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues/44/comments","statuses_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/statuses/08e3a0449118fd78ba9dd7038e1b31146dd7cc73","head":{"label":"Rostlab:change-width-of-bars","ref":"change-width-of-bars","sha":"08e3a0449118fd78ba9dd7038e1b31146dd7cc73","user":{"login":"Rostlab","id":4093405,"avatar_url":"https://avatars2.githubusercontent.com/u/4093405?v=4","gravatar_id":"","url":"https://api.github.com/users/Rostlab","html_url":"https://github.com/Rostlab","followers_url":"https://api.github.com/users/Rostlab/followers","following_url":"https://api.github.com/users/Rostlab/following{/other_user}","gists_url":"https://api.github.com/users/Rostlab/gists{/gist_id}","starred_url":"https://api.github.com/users/Rostlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rostlab/subscriptions","organizations_url":"https://api.github.com/users/Rostlab/orgs","repos_url":"https://api.github.com/users/Rostlab/repos","events_url":"https://api.github.com/users/Rostlab/events{/privacy}","received_events_url":"https://api.github.com/users/Rostlab/received_events","type":"Organization","site_admin":false},"repo":{"id":121844723,"name":"JS18_ProjectB_Group3","full_name":"Rostlab/JS18_ProjectB_Group3","owner":{"login":"Rostlab","id":4093405,"avatar_url":"https://avatars2.githubusercontent.com/u/4093405?v=4","gravatar_id":"","url":"https://api.github.com/users/Rostlab","html_url":"https://github.com/Rostlab","followers_url":"https://api.github.com/users/Rostlab/followers","following_url":"https://api.github.com/users/Rostlab/following{/other_user}","gists_url":"https://api.github.com/users/Rostlab/gists{/gist_id}","starred_url":"https://api.github.com/users/Rostlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rostlab/subscriptions","organizations_url":"https://api.github.com/users/Rostlab/orgs","repos_url":"https://api.github.com/users/Rostlab/repos","events_url":"https://api.github.com/users/Rostlab/events{/privacy}","received_events_url":"https://api.github.com/users/Rostlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rostlab/JS18_ProjectB_Group3","description":null,"fork":false,"url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3","forks_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/forks","keys_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/teams","hooks_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/hooks","issue_events_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues/events{/number}","events_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/events","assignees_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/assignees{/user}","branches_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/branches{/branch}","tags_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/tags","blobs_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/statuses/{sha}","languages_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/languages","stargazers_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/stargazers","contributors_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/contributors","subscribers_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/subscribers","subscription_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/subscription","commits_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/contents/{+path}","compare_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/merges","archive_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/downloads","issues_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues{/number}","pulls_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls{/number}","milestones_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/milestones{/number}","notifications_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/labels{/name}","releases_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/releases{/id}","deployments_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/deployments","created_at":"2018-02-17T10:05:22Z","updated_at":"2018-03-19T15:46:35Z","pushed_at":"2018-03-19T15:46:33Z","git_url":"git://github.com/Rostlab/JS18_ProjectB_Group3.git","ssh_url":"git@github.com:Rostlab/JS18_ProjectB_Group3.git","clone_url":"https://github.com/Rostlab/JS18_ProjectB_Group3.git","svn_url":"https://github.com/Rostlab/JS18_ProjectB_Group3","homepage":"https://js2018-group3.azurewebsites.net/","size":92,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":8,"watchers":1,"default_branch":"develop"}},"base":{"label":"Rostlab:develop","ref":"develop","sha":"c820a839e9d4d9dba52d1c99231425db2a7b6f67","user":{"login":"Rostlab","id":4093405,"avatar_url":"https://avatars2.githubusercontent.com/u/4093405?v=4","gravatar_id":"","url":"https://api.github.com/users/Rostlab","html_url":"https://github.com/Rostlab","followers_url":"https://api.github.com/users/Rostlab/followers","following_url":"https://api.github.com/users/Rostlab/following{/other_user}","gists_url":"https://api.github.com/users/Rostlab/gists{/gist_id}","starred_url":"https://api.github.com/users/Rostlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rostlab/subscriptions","organizations_url":"https://api.github.com/users/Rostlab/orgs","repos_url":"https://api.github.com/users/Rostlab/repos","events_url":"https://api.github.com/users/Rostlab/events{/privacy}","received_events_url":"https://api.github.com/users/Rostlab/received_events","type":"Organization","site_admin":false},"repo":{"id":121844723,"name":"JS18_ProjectB_Group3","full_name":"Rostlab/JS18_ProjectB_Group3","owner":{"login":"Rostlab","id":4093405,"avatar_url":"https://avatars2.githubusercontent.com/u/4093405?v=4","gravatar_id":"","url":"https://api.github.com/users/Rostlab","html_url":"https://github.com/Rostlab","followers_url":"https://api.github.com/users/Rostlab/followers","following_url":"https://api.github.com/users/Rostlab/following{/other_user}","gists_url":"https://api.github.com/users/Rostlab/gists{/gist_id}","starred_url":"https://api.github.com/users/Rostlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rostlab/subscriptions","organizations_url":"https://api.github.com/users/Rostlab/orgs","repos_url":"https://api.github.com/users/Rostlab/repos","events_url":"https://api.github.com/users/Rostlab/events{/privacy}","received_events_url":"https://api.github.com/users/Rostlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Rostlab/JS18_ProjectB_Group3","description":null,"fork":false,"url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3","forks_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/forks","keys_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/teams","hooks_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/hooks","issue_events_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues/events{/number}","events_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/events","assignees_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/assignees{/user}","branches_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/branches{/branch}","tags_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/tags","blobs_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/statuses/{sha}","languages_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/languages","stargazers_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/stargazers","contributors_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/contributors","subscribers_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/subscribers","subscription_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/subscription","commits_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/contents/{+path}","compare_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/merges","archive_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/downloads","issues_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues{/number}","pulls_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls{/number}","milestones_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/milestones{/number}","notifications_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/labels{/name}","releases_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/releases{/id}","deployments_url":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/deployments","created_at":"2018-02-17T10:05:22Z","updated_at":"2018-03-19T15:46:35Z","pushed_at":"2018-03-19T15:46:33Z","git_url":"git://github.com/Rostlab/JS18_ProjectB_Group3.git","ssh_url":"git@github.com:Rostlab/JS18_ProjectB_Group3.git","clone_url":"https://github.com/Rostlab/JS18_ProjectB_Group3.git","svn_url":"https://github.com/Rostlab/JS18_ProjectB_Group3","homepage":"https://js2018-group3.azurewebsites.net/","size":92,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":8,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/44"},"html":{"href":"https://github.com/Rostlab/JS18_ProjectB_Group3/pull/44"},"issue":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues/44"},"comments":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/Rostlab/JS18_ProjectB_Group3/statuses/08e3a0449118fd78ba9dd7038e1b31146dd7cc73"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"AhmetTanakol"}}