{"action":"created","comment":{"url":"https://api.github.com/repos/fewd90nyc/final_project/pulls/comments/79323160","id":79323160,"diff_hunk":"@@ -0,0 +1,105 @@\n+sidebarWidth= 25;\n+containerWidth = 75;\n+containerHeight = 94;\n+navHeight = 6;\n+\n+centerCircleRadius = 4.5;\n+centerCircleWidth = (centerCircleRadius * 2) + 2;\n+centerCircleHeight = (centerCircleRadius * 5) + 4;\n+d3.select(\".cmi\")\n+\t.append(\"svg\")\n+\t.attr(\"width\", centerCircleWidth + \"vw\")\n+\t.attr(\"height\", centerCircleHeight + \"vh\")\n+\t.append(\"circle\")\n+\t.attr(\"cx\", (centerCircleWidth / 2) + \"vw\")\n+\t.attr(\"cy\", (centerCircleHeight / 2) + \"vh\")\n+\t.attr(\"r\", centerCircleRadius + \"vw\")\n+\t.style(\"fill\", \"purple\");\n+\n+itemRadius = 2.8;\n+itemWidth = (itemRadius * 2) + 2;\n+itemHeight = (itemRadius * 5) + 4;\n+d3.selectAll(\".item\")\n+\t.append(\"svg\")\n+\t.attr(\"width\", itemWidth + \"vw\")\n+\t.attr(\"height\", itemHeight + \"vh\")\n+\t.append(\"circle\")\n+\t.attr(\"cx\", (itemWidth / 2) + \"vw\")\n+\t.attr(\"cy\", (itemHeight / 2) + \"vh\")\n+\t.attr(\"r\", itemRadius + \"vw\")\n+\t.style(\"fill\", \"green\")\n+\n+miniItemRadius = 1;\n+miniItemWidth = (miniItemRadius * 2) + 2;\n+miniItemHeight = (miniItemRadius * 5) + 4;\n+d3.selectAll(\".miniItem\")\n+\t.append(\"svg\")\n+\t.attr(\"width\", miniItemWidth + \"vw\")\n+\t.attr(\"height\", miniItemHeight + \"vh\")\n+\t.append(\"circle\")\n+\t.attr(\"cx\", (miniItemWidth / 2) + \"vw\")\n+\t.attr(\"cy\", (miniItemHeight / 2) + \"vh\")\n+\t.attr(\"r\", miniItemRadius + \"vw\")\n+\t.style(\"fill\", \"blue\")\n+\n+centerPointX = (containerWidth / 2) + sidebarWidth;\n+centerPointY = (containerHeight / 2) + navHeight;\n+$(\".cmi\").css({left: (centerPointX - centerCircleWidth/2) + \"vw\", top: (centerPointY - centerCircleHeight/2) + \"vh\"});\n+\n+var items = document.getElementsByClassName(\"item\");\n+var angleIncrease =  Math.PI * 2 / items.length;\n+var x = 0, y = 0, angle = 0;\n+\n+var miniItems = document.getElementsByClassName(\"miniItem\");\n+var miniAngleIncrease = Math.PI * 2 / miniItems.length;\n+var miniX = 0, miniY = 0, miniAngle = 0;\n+\n+for (var i = 0; i < items.length; i++) {\n+\titem = items[i];\n+\tx = 25 * Math.cos(angle);\n+\ty = 35 * Math.sin(angle);\n+    if ($(item).hasClass(\"marketing\")) {\n+    \titem.style.left = (centerPointX - itemWidth / 2 + x) + \"vw\";\n+    \titem.style.top = (centerPointY - itemHeight / 2 + y) + \"vh\"; \n+    \tminiCenterPointX = centerPointX + x;\n+    \tminiCenterPointY = centerPointY + y;\n+    \tfor (var miniI = 0; miniI < miniItems.length; miniI++) {\n+    \t\tminiItem = miniItems[miniI];\n+    \t\tminiX = 8 * Math.cos(miniAngle);\n+    \t\tminiY = 15 * Math.sin(miniAngle);\n+    \t\tminiItem.style.left = (miniCenterPointX - miniItemWidth / 2 + miniX) + \"vw\";\n+    \t\tminiItem.style.top = (miniCenterPointY - miniItemHeight / 2 + miniY) + \"vh\";\n+    \t\tminiAngle += miniAngleIncrease;\n+    \t}\n+    \tangle += angleIncrease;\n+\t}\n+\telse if ($(item).hasClass(\"item\")){\n+\t\titem.style.left = (centerPointX - itemWidth / 2 + x) + \"vw\";\n+    \titem.style.top = (centerPointY - itemHeight / 2 + y) + \"vh\"; \n+\t\tangle += angleIncrease;\n+\t}\n+};\n+\n+\n+$(\".cmi, .item, .miniItem\").hover(function() {\n+    $(this).children(\"ul\").toggleClass(\"textOpen\");\n+});\n+\n+$(\".marketing, .miniItem\").hover(function() {\n+\t$(\".miniItem\").children(\"span\").toggle(\"display\", $(\"miniItem\").css(\"display\") === \"block\");\n+});\n+\n+$(\".cmi, .item, .miniItem\").mousemove(function (e) {\n+    var x = e.pageX,\n+        y = e.pageY;        \n+    $(this).children(\".tooltipRightDown\").css({top: (y + 10) + \"px\"});\n+    $(this).children(\".tooltipRightDown\").css({left: (x + 10) + \"px\"});\n+    $(this).children(\".tooltipLeftUp\").css({top: (y - 95) + \"px\"});\n+    $(this).children(\".tooltipLeftUp\").css({left: (x - 215) + \"px\"});\n+    $(this).children(\".tooltipLeftDown\").css({top: (y + 10) + \"px\"});\n+    $(this).children(\".tooltipLeftDown\").css({left: (x - 210) + \"px\"});\n+});\n+\n+$(\".seo, .overlayEsc\").click(function() {\n+\t$(\".overlay\").toggle(\"display\"), $(\".overlay\").css(\"display\") === \"block);\"","path":"js/scripts.js","position":104,"original_position":104,"commit_id":"8e4c5ca5f1d33919ab9825f0a5f2a6dc206c018c","original_commit_id":"8e4c5ca5f1d33919ab9825f0a5f2a6dc206c018c","user":{"login":"Josephjbliss","id":636966,"avatar_url":"https://avatars.githubusercontent.com/u/636966?v=3","gravatar_id":"","url":"https://api.github.com/users/Josephjbliss","html_url":"https://github.com/Josephjbliss","followers_url":"https://api.github.com/users/Josephjbliss/followers","following_url":"https://api.github.com/users/Josephjbliss/following{/other_user}","gists_url":"https://api.github.com/users/Josephjbliss/gists{/gist_id}","starred_url":"https://api.github.com/users/Josephjbliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Josephjbliss/subscriptions","organizations_url":"https://api.github.com/users/Josephjbliss/orgs","repos_url":"https://api.github.com/users/Josephjbliss/repos","events_url":"https://api.github.com/users/Josephjbliss/events{/privacy}","received_events_url":"https://api.github.com/users/Josephjbliss/received_events","type":"User","site_admin":false},"body":"Same as above.","created_at":"2016-09-19T02:41:52Z","updated_at":"2016-09-19T02:42:03Z","html_url":"https://github.com/fewd90nyc/final_project/pull/10#discussion_r79323160","pull_request_url":"https://api.github.com/repos/fewd90nyc/final_project/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/fewd90nyc/final_project/pulls/comments/79323160"},"html":{"href":"https://github.com/fewd90nyc/final_project/pull/10#discussion_r79323160"},"pull_request":{"href":"https://api.github.com/repos/fewd90nyc/final_project/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/fewd90nyc/final_project/pulls/10","id":83360550,"html_url":"https://github.com/fewd90nyc/final_project/pull/10","diff_url":"https://github.com/fewd90nyc/final_project/pull/10.diff","patch_url":"https://github.com/fewd90nyc/final_project/pull/10.patch","issue_url":"https://api.github.com/repos/fewd90nyc/final_project/issues/10","number":10,"state":"open","locked":false,"title":"JLovejoy_FinalProject","user":{"login":"jalovejoy","id":20076772,"avatar_url":"https://avatars.githubusercontent.com/u/20076772?v=3","gravatar_id":"","url":"https://api.github.com/users/jalovejoy","html_url":"https://github.com/jalovejoy","followers_url":"https://api.github.com/users/jalovejoy/followers","following_url":"https://api.github.com/users/jalovejoy/following{/other_user}","gists_url":"https://api.github.com/users/jalovejoy/gists{/gist_id}","starred_url":"https://api.github.com/users/jalovejoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalovejoy/subscriptions","organizations_url":"https://api.github.com/users/jalovejoy/orgs","repos_url":"https://api.github.com/users/jalovejoy/repos","events_url":"https://api.github.com/users/jalovejoy/events{/privacy}","received_events_url":"https://api.github.com/users/jalovejoy/received_events","type":"User","site_admin":false},"body":"Prototype for social structure (work related project..)","created_at":"2016-08-30T22:43:10Z","updated_at":"2016-09-19T02:42:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba79c048b95ff7b11ce811bceeca3427369f4229","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fewd90nyc/final_project/pulls/10/commits","review_comments_url":"https://api.github.com/repos/fewd90nyc/final_project/pulls/10/comments","review_comment_url":"https://api.github.com/repos/fewd90nyc/final_project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fewd90nyc/final_project/issues/10/comments","statuses_url":"https://api.github.com/repos/fewd90nyc/final_project/statuses/8e4c5ca5f1d33919ab9825f0a5f2a6dc206c018c","head":{"label":"jalovejoy:master","ref":"master","sha":"8e4c5ca5f1d33919ab9825f0a5f2a6dc206c018c","user":{"login":"jalovejoy","id":20076772,"avatar_url":"https://avatars.githubusercontent.com/u/20076772?v=3","gravatar_id":"","url":"https://api.github.com/users/jalovejoy","html_url":"https://github.com/jalovejoy","followers_url":"https://api.github.com/users/jalovejoy/followers","following_url":"https://api.github.com/users/jalovejoy/following{/other_user}","gists_url":"https://api.github.com/users/jalovejoy/gists{/gist_id}","starred_url":"https://api.github.com/users/jalovejoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalovejoy/subscriptions","organizations_url":"https://api.github.com/users/jalovejoy/orgs","repos_url":"https://api.github.com/users/jalovejoy/repos","events_url":"https://api.github.com/users/jalovejoy/events{/privacy}","received_events_url":"https://api.github.com/users/jalovejoy/received_events","type":"User","site_admin":false},"repo":{"id":66982862,"name":"final_project","full_name":"jalovejoy/final_project","owner":{"login":"jalovejoy","id":20076772,"avatar_url":"https://avatars.githubusercontent.com/u/20076772?v=3","gravatar_id":"","url":"https://api.github.com/users/jalovejoy","html_url":"https://github.com/jalovejoy","followers_url":"https://api.github.com/users/jalovejoy/followers","following_url":"https://api.github.com/users/jalovejoy/following{/other_user}","gists_url":"https://api.github.com/users/jalovejoy/gists{/gist_id}","starred_url":"https://api.github.com/users/jalovejoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jalovejoy/subscriptions","organizations_url":"https://api.github.com/users/jalovejoy/orgs","repos_url":"https://api.github.com/users/jalovejoy/repos","events_url":"https://api.github.com/users/jalovejoy/events{/privacy}","received_events_url":"https://api.github.com/users/jalovejoy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jalovejoy/final_project","description":null,"fork":true,"url":"https://api.github.com/repos/jalovejoy/final_project","forks_url":"https://api.github.com/repos/jalovejoy/final_project/forks","keys_url":"https://api.github.com/repos/jalovejoy/final_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jalovejoy/final_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jalovejoy/final_project/teams","hooks_url":"https://api.github.com/repos/jalovejoy/final_project/hooks","issue_events_url":"https://api.github.com/repos/jalovejoy/final_project/issues/events{/number}","events_url":"https://api.github.com/repos/jalovejoy/final_project/events","assignees_url":"https://api.github.com/repos/jalovejoy/final_project/assignees{/user}","branches_url":"https://api.github.com/repos/jalovejoy/final_project/branches{/branch}","tags_url":"https://api.github.com/repos/jalovejoy/final_project/tags","blobs_url":"https://api.github.com/repos/jalovejoy/final_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jalovejoy/final_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jalovejoy/final_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/jalovejoy/final_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jalovejoy/final_project/statuses/{sha}","languages_url":"https://api.github.com/repos/jalovejoy/final_project/languages","stargazers_url":"https://api.github.com/repos/jalovejoy/final_project/stargazers","contributors_url":"https://api.github.com/repos/jalovejoy/final_project/contributors","subscribers_url":"https://api.github.com/repos/jalovejoy/final_project/subscribers","subscription_url":"https://api.github.com/repos/jalovejoy/final_project/subscription","commits_url":"https://api.github.com/repos/jalovejoy/final_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/jalovejoy/final_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/jalovejoy/final_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/jalovejoy/final_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/jalovejoy/final_project/contents/{+path}","compare_url":"https://api.github.com/repos/jalovejoy/final_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jalovejoy/final_project/merges","archive_url":"https://api.github.com/repos/jalovejoy/final_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jalovejoy/final_project/downloads","issues_url":"https://api.github.com/repos/jalovejoy/final_project/issues{/number}","pulls_url":"https://api.github.com/repos/jalovejoy/final_project/pulls{/number}","milestones_url":"https://api.github.com/repos/jalovejoy/final_project/milestones{/number}","notifications_url":"https://api.github.com/repos/jalovejoy/final_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jalovejoy/final_project/labels{/name}","releases_url":"https://api.github.com/repos/jalovejoy/final_project/releases{/id}","deployments_url":"https://api.github.com/repos/jalovejoy/final_project/deployments","created_at":"2016-08-30T22:40:42Z","updated_at":"2016-08-30T22:42:53Z","pushed_at":"2016-08-30T22:42:52Z","git_url":"git://github.com/jalovejoy/final_project.git","ssh_url":"git@github.com:jalovejoy/final_project.git","clone_url":"https://github.com/jalovejoy/final_project.git","svn_url":"https://github.com/jalovejoy/final_project","homepage":null,"size":962,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"fewd90nyc:master","ref":"master","sha":"eeaab24c080a761101ab1cc4ddd22107fa6281bb","user":{"login":"fewd90nyc","id":20054385,"avatar_url":"https://avatars.githubusercontent.com/u/20054385?v=3","gravatar_id":"","url":"https://api.github.com/users/fewd90nyc","html_url":"https://github.com/fewd90nyc","followers_url":"https://api.github.com/users/fewd90nyc/followers","following_url":"https://api.github.com/users/fewd90nyc/following{/other_user}","gists_url":"https://api.github.com/users/fewd90nyc/gists{/gist_id}","starred_url":"https://api.github.com/users/fewd90nyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fewd90nyc/subscriptions","organizations_url":"https://api.github.com/users/fewd90nyc/orgs","repos_url":"https://api.github.com/users/fewd90nyc/repos","events_url":"https://api.github.com/users/fewd90nyc/events{/privacy}","received_events_url":"https://api.github.com/users/fewd90nyc/received_events","type":"Organization","site_admin":false},"repo":{"id":63371884,"name":"final_project","full_name":"fewd90nyc/final_project","owner":{"login":"fewd90nyc","id":20054385,"avatar_url":"https://avatars.githubusercontent.com/u/20054385?v=3","gravatar_id":"","url":"https://api.github.com/users/fewd90nyc","html_url":"https://github.com/fewd90nyc","followers_url":"https://api.github.com/users/fewd90nyc/followers","following_url":"https://api.github.com/users/fewd90nyc/following{/other_user}","gists_url":"https://api.github.com/users/fewd90nyc/gists{/gist_id}","starred_url":"https://api.github.com/users/fewd90nyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fewd90nyc/subscriptions","organizations_url":"https://api.github.com/users/fewd90nyc/orgs","repos_url":"https://api.github.com/users/fewd90nyc/repos","events_url":"https://api.github.com/users/fewd90nyc/events{/privacy}","received_events_url":"https://api.github.com/users/fewd90nyc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fewd90nyc/final_project","description":null,"fork":false,"url":"https://api.github.com/repos/fewd90nyc/final_project","forks_url":"https://api.github.com/repos/fewd90nyc/final_project/forks","keys_url":"https://api.github.com/repos/fewd90nyc/final_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fewd90nyc/final_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fewd90nyc/final_project/teams","hooks_url":"https://api.github.com/repos/fewd90nyc/final_project/hooks","issue_events_url":"https://api.github.com/repos/fewd90nyc/final_project/issues/events{/number}","events_url":"https://api.github.com/repos/fewd90nyc/final_project/events","assignees_url":"https://api.github.com/repos/fewd90nyc/final_project/assignees{/user}","branches_url":"https://api.github.com/repos/fewd90nyc/final_project/branches{/branch}","tags_url":"https://api.github.com/repos/fewd90nyc/final_project/tags","blobs_url":"https://api.github.com/repos/fewd90nyc/final_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fewd90nyc/final_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fewd90nyc/final_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/fewd90nyc/final_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fewd90nyc/final_project/statuses/{sha}","languages_url":"https://api.github.com/repos/fewd90nyc/final_project/languages","stargazers_url":"https://api.github.com/repos/fewd90nyc/final_project/stargazers","contributors_url":"https://api.github.com/repos/fewd90nyc/final_project/contributors","subscribers_url":"https://api.github.com/repos/fewd90nyc/final_project/subscribers","subscription_url":"https://api.github.com/repos/fewd90nyc/final_project/subscription","commits_url":"https://api.github.com/repos/fewd90nyc/final_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/fewd90nyc/final_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/fewd90nyc/final_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/fewd90nyc/final_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/fewd90nyc/final_project/contents/{+path}","compare_url":"https://api.github.com/repos/fewd90nyc/final_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fewd90nyc/final_project/merges","archive_url":"https://api.github.com/repos/fewd90nyc/final_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fewd90nyc/final_project/downloads","issues_url":"https://api.github.com/repos/fewd90nyc/final_project/issues{/number}","pulls_url":"https://api.github.com/repos/fewd90nyc/final_project/pulls{/number}","milestones_url":"https://api.github.com/repos/fewd90nyc/final_project/milestones{/number}","notifications_url":"https://api.github.com/repos/fewd90nyc/final_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fewd90nyc/final_project/labels{/name}","releases_url":"https://api.github.com/repos/fewd90nyc/final_project/releases{/id}","deployments_url":"https://api.github.com/repos/fewd90nyc/final_project/deployments","created_at":"2016-07-14T21:44:02Z","updated_at":"2016-08-16T03:37:27Z","pushed_at":"2016-09-10T07:32:03Z","git_url":"git://github.com/fewd90nyc/final_project.git","ssh_url":"git@github.com:fewd90nyc/final_project.git","clone_url":"https://github.com/fewd90nyc/final_project.git","svn_url":"https://github.com/fewd90nyc/final_project","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":9,"forks":21,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fewd90nyc/final_project/pulls/10"},"html":{"href":"https://github.com/fewd90nyc/final_project/pull/10"},"issue":{"href":"https://api.github.com/repos/fewd90nyc/final_project/issues/10"},"comments":{"href":"https://api.github.com/repos/fewd90nyc/final_project/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/fewd90nyc/final_project/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/fewd90nyc/final_project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fewd90nyc/final_project/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/fewd90nyc/final_project/statuses/8e4c5ca5f1d33919ab9825f0a5f2a6dc206c018c"}}}}
{"actor":{"display_login":"Josephjbliss"}}