{"action":"created","comment":{"url":"https://api.github.com/repos/Olical/Color/pulls/comments/87795207","pull_request_review_id":8391622,"id":87795207,"diff_hunk":"@@ -90,7 +90,7 @@ var color = {\n \t\t\t\n \t\t\t// Make sure it is always the right length\n \t\t\tif(color[i].length === 1) {\n-\t\t\t\tcolor[i] = color[i] + color[i];\n+\t\t\t\tcolor[i] = \"0\" + color[i];","path":"color.js","position":5,"original_position":5,"commit_id":"d24b1105ebd145a98cfc36d4530dc82717bb5699","original_commit_id":"d24b1105ebd145a98cfc36d4530dc82717bb5699","user":{"login":"Olical","id":315229,"avatar_url":"https://avatars.githubusercontent.com/u/315229?v=3","gravatar_id":"","url":"https://api.github.com/users/Olical","html_url":"https://github.com/Olical","followers_url":"https://api.github.com/users/Olical/followers","following_url":"https://api.github.com/users/Olical/following{/other_user}","gists_url":"https://api.github.com/users/Olical/gists{/gist_id}","starred_url":"https://api.github.com/users/Olical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olical/subscriptions","organizations_url":"https://api.github.com/users/Olical/orgs","repos_url":"https://api.github.com/users/Olical/repos","events_url":"https://api.github.com/users/Olical/events{/privacy}","received_events_url":"https://api.github.com/users/Olical/received_events","type":"User","site_admin":false},"body":"Swap these to single quotes and I think this is fine. I *think*.","created_at":"2016-11-14T12:56:54Z","updated_at":"2016-11-14T12:57:10Z","html_url":"https://github.com/Olical/Color/pull/1#discussion_r87795207","pull_request_url":"https://api.github.com/repos/Olical/Color/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Olical/Color/pulls/comments/87795207"},"html":{"href":"https://github.com/Olical/Color/pull/1#discussion_r87795207"},"pull_request":{"href":"https://api.github.com/repos/Olical/Color/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Olical/Color/pulls/1","id":93560611,"html_url":"https://github.com/Olical/Color/pull/1","diff_url":"https://github.com/Olical/Color/pull/1.diff","patch_url":"https://github.com/Olical/Color/pull/1.patch","issue_url":"https://api.github.com/repos/Olical/Color/issues/1","number":1,"state":"open","locked":false,"title":"Bug for single character colors in toHex()","user":{"login":"pypmannetjies","id":2239732,"avatar_url":"https://avatars.githubusercontent.com/u/2239732?v=3","gravatar_id":"","url":"https://api.github.com/users/pypmannetjies","html_url":"https://github.com/pypmannetjies","followers_url":"https://api.github.com/users/pypmannetjies/followers","following_url":"https://api.github.com/users/pypmannetjies/following{/other_user}","gists_url":"https://api.github.com/users/pypmannetjies/gists{/gist_id}","starred_url":"https://api.github.com/users/pypmannetjies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypmannetjies/subscriptions","organizations_url":"https://api.github.com/users/pypmannetjies/orgs","repos_url":"https://api.github.com/users/pypmannetjies/repos","events_url":"https://api.github.com/users/pypmannetjies/events{/privacy}","received_events_url":"https://api.github.com/users/pypmannetjies/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nI found an issue where, if a color was calculated and the result was a single character, the toHex() function would duplicate the character instead of prepending a 0. \r\n\r\nSo for example: \r\nrgb(8,8,8) resolves to #888888 instead of #080808\r\n\r\nI've edited the toHex() function to prepend a zero instead.","created_at":"2016-11-14T12:48:46Z","updated_at":"2016-11-14T12:57:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b42db7a4e13372eb020408a1efec7b75970c481","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Olical/Color/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Olical/Color/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Olical/Color/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Olical/Color/issues/1/comments","statuses_url":"https://api.github.com/repos/Olical/Color/statuses/d24b1105ebd145a98cfc36d4530dc82717bb5699","head":{"label":"pypmannetjies:patch-1","ref":"patch-1","sha":"d24b1105ebd145a98cfc36d4530dc82717bb5699","user":{"login":"pypmannetjies","id":2239732,"avatar_url":"https://avatars.githubusercontent.com/u/2239732?v=3","gravatar_id":"","url":"https://api.github.com/users/pypmannetjies","html_url":"https://github.com/pypmannetjies","followers_url":"https://api.github.com/users/pypmannetjies/followers","following_url":"https://api.github.com/users/pypmannetjies/following{/other_user}","gists_url":"https://api.github.com/users/pypmannetjies/gists{/gist_id}","starred_url":"https://api.github.com/users/pypmannetjies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypmannetjies/subscriptions","organizations_url":"https://api.github.com/users/pypmannetjies/orgs","repos_url":"https://api.github.com/users/pypmannetjies/repos","events_url":"https://api.github.com/users/pypmannetjies/events{/privacy}","received_events_url":"https://api.github.com/users/pypmannetjies/received_events","type":"User","site_admin":false},"repo":{"id":73703465,"name":"Color","full_name":"pypmannetjies/Color","owner":{"login":"pypmannetjies","id":2239732,"avatar_url":"https://avatars.githubusercontent.com/u/2239732?v=3","gravatar_id":"","url":"https://api.github.com/users/pypmannetjies","html_url":"https://github.com/pypmannetjies","followers_url":"https://api.github.com/users/pypmannetjies/followers","following_url":"https://api.github.com/users/pypmannetjies/following{/other_user}","gists_url":"https://api.github.com/users/pypmannetjies/gists{/gist_id}","starred_url":"https://api.github.com/users/pypmannetjies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypmannetjies/subscriptions","organizations_url":"https://api.github.com/users/pypmannetjies/orgs","repos_url":"https://api.github.com/users/pypmannetjies/repos","events_url":"https://api.github.com/users/pypmannetjies/events{/privacy}","received_events_url":"https://api.github.com/users/pypmannetjies/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pypmannetjies/Color","description":"Color conversion functions for JavaScript","fork":true,"url":"https://api.github.com/repos/pypmannetjies/Color","forks_url":"https://api.github.com/repos/pypmannetjies/Color/forks","keys_url":"https://api.github.com/repos/pypmannetjies/Color/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pypmannetjies/Color/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pypmannetjies/Color/teams","hooks_url":"https://api.github.com/repos/pypmannetjies/Color/hooks","issue_events_url":"https://api.github.com/repos/pypmannetjies/Color/issues/events{/number}","events_url":"https://api.github.com/repos/pypmannetjies/Color/events","assignees_url":"https://api.github.com/repos/pypmannetjies/Color/assignees{/user}","branches_url":"https://api.github.com/repos/pypmannetjies/Color/branches{/branch}","tags_url":"https://api.github.com/repos/pypmannetjies/Color/tags","blobs_url":"https://api.github.com/repos/pypmannetjies/Color/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pypmannetjies/Color/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pypmannetjies/Color/git/refs{/sha}","trees_url":"https://api.github.com/repos/pypmannetjies/Color/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pypmannetjies/Color/statuses/{sha}","languages_url":"https://api.github.com/repos/pypmannetjies/Color/languages","stargazers_url":"https://api.github.com/repos/pypmannetjies/Color/stargazers","contributors_url":"https://api.github.com/repos/pypmannetjies/Color/contributors","subscribers_url":"https://api.github.com/repos/pypmannetjies/Color/subscribers","subscription_url":"https://api.github.com/repos/pypmannetjies/Color/subscription","commits_url":"https://api.github.com/repos/pypmannetjies/Color/commits{/sha}","git_commits_url":"https://api.github.com/repos/pypmannetjies/Color/git/commits{/sha}","comments_url":"https://api.github.com/repos/pypmannetjies/Color/comments{/number}","issue_comment_url":"https://api.github.com/repos/pypmannetjies/Color/issues/comments{/number}","contents_url":"https://api.github.com/repos/pypmannetjies/Color/contents/{+path}","compare_url":"https://api.github.com/repos/pypmannetjies/Color/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pypmannetjies/Color/merges","archive_url":"https://api.github.com/repos/pypmannetjies/Color/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pypmannetjies/Color/downloads","issues_url":"https://api.github.com/repos/pypmannetjies/Color/issues{/number}","pulls_url":"https://api.github.com/repos/pypmannetjies/Color/pulls{/number}","milestones_url":"https://api.github.com/repos/pypmannetjies/Color/milestones{/number}","notifications_url":"https://api.github.com/repos/pypmannetjies/Color/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pypmannetjies/Color/labels{/name}","releases_url":"https://api.github.com/repos/pypmannetjies/Color/releases{/id}","deployments_url":"https://api.github.com/repos/pypmannetjies/Color/deployments","created_at":"2016-11-14T12:41:16Z","updated_at":"2016-11-14T12:41:16Z","pushed_at":"2016-11-14T12:48:24Z","git_url":"git://github.com/pypmannetjies/Color.git","ssh_url":"git@github.com:pypmannetjies/Color.git","clone_url":"https://github.com/pypmannetjies/Color.git","svn_url":"https://github.com/pypmannetjies/Color","homepage":"","size":3884,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Olical:master","ref":"master","sha":"45a83fecda62c086e788895182e403a9c9b42807","user":{"login":"Olical","id":315229,"avatar_url":"https://avatars.githubusercontent.com/u/315229?v=3","gravatar_id":"","url":"https://api.github.com/users/Olical","html_url":"https://github.com/Olical","followers_url":"https://api.github.com/users/Olical/followers","following_url":"https://api.github.com/users/Olical/following{/other_user}","gists_url":"https://api.github.com/users/Olical/gists{/gist_id}","starred_url":"https://api.github.com/users/Olical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olical/subscriptions","organizations_url":"https://api.github.com/users/Olical/orgs","repos_url":"https://api.github.com/users/Olical/repos","events_url":"https://api.github.com/users/Olical/events{/privacy}","received_events_url":"https://api.github.com/users/Olical/received_events","type":"User","site_admin":false},"repo":{"id":1681563,"name":"Color","full_name":"Olical/Color","owner":{"login":"Olical","id":315229,"avatar_url":"https://avatars.githubusercontent.com/u/315229?v=3","gravatar_id":"","url":"https://api.github.com/users/Olical","html_url":"https://github.com/Olical","followers_url":"https://api.github.com/users/Olical/followers","following_url":"https://api.github.com/users/Olical/following{/other_user}","gists_url":"https://api.github.com/users/Olical/gists{/gist_id}","starred_url":"https://api.github.com/users/Olical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Olical/subscriptions","organizations_url":"https://api.github.com/users/Olical/orgs","repos_url":"https://api.github.com/users/Olical/repos","events_url":"https://api.github.com/users/Olical/events{/privacy}","received_events_url":"https://api.github.com/users/Olical/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Olical/Color","description":"Color conversion functions for JavaScript","fork":false,"url":"https://api.github.com/repos/Olical/Color","forks_url":"https://api.github.com/repos/Olical/Color/forks","keys_url":"https://api.github.com/repos/Olical/Color/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Olical/Color/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Olical/Color/teams","hooks_url":"https://api.github.com/repos/Olical/Color/hooks","issue_events_url":"https://api.github.com/repos/Olical/Color/issues/events{/number}","events_url":"https://api.github.com/repos/Olical/Color/events","assignees_url":"https://api.github.com/repos/Olical/Color/assignees{/user}","branches_url":"https://api.github.com/repos/Olical/Color/branches{/branch}","tags_url":"https://api.github.com/repos/Olical/Color/tags","blobs_url":"https://api.github.com/repos/Olical/Color/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Olical/Color/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Olical/Color/git/refs{/sha}","trees_url":"https://api.github.com/repos/Olical/Color/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Olical/Color/statuses/{sha}","languages_url":"https://api.github.com/repos/Olical/Color/languages","stargazers_url":"https://api.github.com/repos/Olical/Color/stargazers","contributors_url":"https://api.github.com/repos/Olical/Color/contributors","subscribers_url":"https://api.github.com/repos/Olical/Color/subscribers","subscription_url":"https://api.github.com/repos/Olical/Color/subscription","commits_url":"https://api.github.com/repos/Olical/Color/commits{/sha}","git_commits_url":"https://api.github.com/repos/Olical/Color/git/commits{/sha}","comments_url":"https://api.github.com/repos/Olical/Color/comments{/number}","issue_comment_url":"https://api.github.com/repos/Olical/Color/issues/comments{/number}","contents_url":"https://api.github.com/repos/Olical/Color/contents/{+path}","compare_url":"https://api.github.com/repos/Olical/Color/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Olical/Color/merges","archive_url":"https://api.github.com/repos/Olical/Color/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Olical/Color/downloads","issues_url":"https://api.github.com/repos/Olical/Color/issues{/number}","pulls_url":"https://api.github.com/repos/Olical/Color/pulls{/number}","milestones_url":"https://api.github.com/repos/Olical/Color/milestones{/number}","notifications_url":"https://api.github.com/repos/Olical/Color/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Olical/Color/labels{/name}","releases_url":"https://api.github.com/repos/Olical/Color/releases{/id}","deployments_url":"https://api.github.com/repos/Olical/Color/deployments","created_at":"2011-04-29T16:57:47Z","updated_at":"2016-09-27T03:03:02Z","pushed_at":"2016-11-14T12:48:46Z","git_url":"git://github.com/Olical/Color.git","ssh_url":"git@github.com:Olical/Color.git","clone_url":"https://github.com/Olical/Color.git","svn_url":"https://github.com/Olical/Color","homepage":"","size":3884,"stargazers_count":24,"watchers_count":24,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Olical/Color/pulls/1"},"html":{"href":"https://github.com/Olical/Color/pull/1"},"issue":{"href":"https://api.github.com/repos/Olical/Color/issues/1"},"comments":{"href":"https://api.github.com/repos/Olical/Color/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Olical/Color/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Olical/Color/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Olical/Color/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Olical/Color/statuses/d24b1105ebd145a98cfc36d4530dc82717bb5699"}}}}
{"actor":{"display_login":"Olical"}}