{"action":"created","comment":{"url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/comments/38888783","id":38888783,"diff_hunk":"@@ -1,7 +1,135 @@\n-function UpdateInfo() {\n-    var participantId = GLOBALS.PARTICIPANT_ID;\n-    var personalData = GLOBALS.GET_PARTICIPANT_INFO(participantId);\n-    //console.log(personalData);\n-    var donationData = GLOBALS.GET_PARTICIPANT_DONATION_INFO(participantId);\n-    //console.log(donationData);\n-}\n\\ No newline at end of file\n+// function UpdateInfo() {\n+//     var participantId = GLOBALS.PARTICIPANT_ID;\n+//     var personalData = GLOBALS.GET_PARTICIPANT_INFO(participantId);\n+//     //console.log(personalData);\n+//     var donationData = GLOBALS.GET_PARTICIPANT_DONATION_INFO(participantId);\n+//     //console.log(donationData);\n+// }\n+\n+(function() {\n+  //copied from http://papermashup.com/read-url-get-variables-withjavascript/\n+  function getUrlVars() {\n+    var vars = {};\n+      var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {\n+        vars[key] = value;\n+      });\n+    return vars;\n+  }\n+\n+  var app = angular.module( 'progress', [] );\n+\n+  app.controller( 'progressCtrl', function( $scope, $http ) { \n+  \n+    var urlVars = getUrlVars();\n+    var uid = urlVars['id'];\n+\n+    //borrowed from http://axonflux.com/handy-rgb-to-hsl-and-rgb-to-hsv-color-model-c\n+    var hslToRgb = function(h, s, l){","path":"js/ParticipantProgress.js","position":35,"original_position":35,"commit_id":"613d0a7218f1136200f5a7e10f4cfddd43f3ac39","original_commit_id":"613d0a7218f1136200f5a7e10f4cfddd43f3ac39","user":{"login":"karantza","id":2000079,"avatar_url":"https://avatars.githubusercontent.com/u/2000079?v=3","gravatar_id":"","url":"https://api.github.com/users/karantza","html_url":"https://github.com/karantza","followers_url":"https://api.github.com/users/karantza/followers","following_url":"https://api.github.com/users/karantza/following{/other_user}","gists_url":"https://api.github.com/users/karantza/gists{/gist_id}","starred_url":"https://api.github.com/users/karantza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karantza/subscriptions","organizations_url":"https://api.github.com/users/karantza/orgs","repos_url":"https://api.github.com/users/karantza/repos","events_url":"https://api.github.com/users/karantza/events{/privacy}","received_events_url":"https://api.github.com/users/karantza/received_events","type":"User","site_admin":false},"body":"this could also go in globals","created_at":"2015-09-08T03:50:45Z","updated_at":"2015-09-08T03:50:45Z","html_url":"https://github.com/Ganon11/ExtraLifeWidgets/pull/9#discussion_r38888783","pull_request_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/comments/38888783"},"html":{"href":"https://github.com/Ganon11/ExtraLifeWidgets/pull/9#discussion_r38888783"},"pull_request":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/9","id":44390336,"html_url":"https://github.com/Ganon11/ExtraLifeWidgets/pull/9","diff_url":"https://github.com/Ganon11/ExtraLifeWidgets/pull/9.diff","patch_url":"https://github.com/Ganon11/ExtraLifeWidgets/pull/9.patch","issue_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues/9","number":9,"state":"open","locked":false,"title":"Initial commit. Basic thermometer for one participant working","user":{"login":"arubinoff","id":3931713,"avatar_url":"https://avatars.githubusercontent.com/u/3931713?v=3","gravatar_id":"","url":"https://api.github.com/users/arubinoff","html_url":"https://github.com/arubinoff","followers_url":"https://api.github.com/users/arubinoff/followers","following_url":"https://api.github.com/users/arubinoff/following{/other_user}","gists_url":"https://api.github.com/users/arubinoff/gists{/gist_id}","starred_url":"https://api.github.com/users/arubinoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arubinoff/subscriptions","organizations_url":"https://api.github.com/users/arubinoff/orgs","repos_url":"https://api.github.com/users/arubinoff/repos","events_url":"https://api.github.com/users/arubinoff/events{/privacy}","received_events_url":"https://api.github.com/users/arubinoff/received_events","type":"User","site_admin":false},"body":"lots of todos as noted, especially if we're going to be publishing this in any sort of public forum. let me know anything else that could be changed.","created_at":"2015-09-08T03:38:22Z","updated_at":"2015-09-08T03:50:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41900843cfed86f63792dc65dfc520c43196bf39","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues/9/comments","statuses_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/statuses/613d0a7218f1136200f5a7e10f4cfddd43f3ac39","head":{"label":"Ganon11:personal_and_team_progress","ref":"personal_and_team_progress","sha":"613d0a7218f1136200f5a7e10f4cfddd43f3ac39","user":{"login":"Ganon11","id":1924261,"avatar_url":"https://avatars.githubusercontent.com/u/1924261?v=3","gravatar_id":"","url":"https://api.github.com/users/Ganon11","html_url":"https://github.com/Ganon11","followers_url":"https://api.github.com/users/Ganon11/followers","following_url":"https://api.github.com/users/Ganon11/following{/other_user}","gists_url":"https://api.github.com/users/Ganon11/gists{/gist_id}","starred_url":"https://api.github.com/users/Ganon11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ganon11/subscriptions","organizations_url":"https://api.github.com/users/Ganon11/orgs","repos_url":"https://api.github.com/users/Ganon11/repos","events_url":"https://api.github.com/users/Ganon11/events{/privacy}","received_events_url":"https://api.github.com/users/Ganon11/received_events","type":"User","site_admin":false},"repo":{"id":41895005,"name":"ExtraLifeWidgets","full_name":"Ganon11/ExtraLifeWidgets","owner":{"login":"Ganon11","id":1924261,"avatar_url":"https://avatars.githubusercontent.com/u/1924261?v=3","gravatar_id":"","url":"https://api.github.com/users/Ganon11","html_url":"https://github.com/Ganon11","followers_url":"https://api.github.com/users/Ganon11/followers","following_url":"https://api.github.com/users/Ganon11/following{/other_user}","gists_url":"https://api.github.com/users/Ganon11/gists{/gist_id}","starred_url":"https://api.github.com/users/Ganon11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ganon11/subscriptions","organizations_url":"https://api.github.com/users/Ganon11/orgs","repos_url":"https://api.github.com/users/Ganon11/repos","events_url":"https://api.github.com/users/Ganon11/events{/privacy}","received_events_url":"https://api.github.com/users/Ganon11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ganon11/ExtraLifeWidgets","description":"Making some widgets for use during the Extra Life Game A Thon","fork":false,"url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets","forks_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/forks","keys_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/teams","hooks_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/hooks","issue_events_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues/events{/number}","events_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/events","assignees_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/assignees{/user}","branches_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/branches{/branch}","tags_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/tags","blobs_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/statuses/{sha}","languages_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/languages","stargazers_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/stargazers","contributors_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/contributors","subscribers_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/subscribers","subscription_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/subscription","commits_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/contents/{+path}","compare_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/merges","archive_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/downloads","issues_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues{/number}","pulls_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls{/number}","milestones_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/milestones{/number}","notifications_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/labels{/name}","releases_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/releases{/id}","created_at":"2015-09-04T02:59:30Z","updated_at":"2015-09-07T17:12:27Z","pushed_at":"2015-09-08T03:49:19Z","git_url":"git://github.com/Ganon11/ExtraLifeWidgets.git","ssh_url":"git@github.com:Ganon11/ExtraLifeWidgets.git","clone_url":"https://github.com/Ganon11/ExtraLifeWidgets.git","svn_url":"https://github.com/Ganon11/ExtraLifeWidgets","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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Ganon11:master","ref":"master","sha":"3c242047d817f4451ee79d394c958935785fc74b","user":{"login":"Ganon11","id":1924261,"avatar_url":"https://avatars.githubusercontent.com/u/1924261?v=3","gravatar_id":"","url":"https://api.github.com/users/Ganon11","html_url":"https://github.com/Ganon11","followers_url":"https://api.github.com/users/Ganon11/followers","following_url":"https://api.github.com/users/Ganon11/following{/other_user}","gists_url":"https://api.github.com/users/Ganon11/gists{/gist_id}","starred_url":"https://api.github.com/users/Ganon11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ganon11/subscriptions","organizations_url":"https://api.github.com/users/Ganon11/orgs","repos_url":"https://api.github.com/users/Ganon11/repos","events_url":"https://api.github.com/users/Ganon11/events{/privacy}","received_events_url":"https://api.github.com/users/Ganon11/received_events","type":"User","site_admin":false},"repo":{"id":41895005,"name":"ExtraLifeWidgets","full_name":"Ganon11/ExtraLifeWidgets","owner":{"login":"Ganon11","id":1924261,"avatar_url":"https://avatars.githubusercontent.com/u/1924261?v=3","gravatar_id":"","url":"https://api.github.com/users/Ganon11","html_url":"https://github.com/Ganon11","followers_url":"https://api.github.com/users/Ganon11/followers","following_url":"https://api.github.com/users/Ganon11/following{/other_user}","gists_url":"https://api.github.com/users/Ganon11/gists{/gist_id}","starred_url":"https://api.github.com/users/Ganon11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ganon11/subscriptions","organizations_url":"https://api.github.com/users/Ganon11/orgs","repos_url":"https://api.github.com/users/Ganon11/repos","events_url":"https://api.github.com/users/Ganon11/events{/privacy}","received_events_url":"https://api.github.com/users/Ganon11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ganon11/ExtraLifeWidgets","description":"Making some widgets for use during the Extra Life Game A Thon","fork":false,"url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets","forks_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/forks","keys_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/teams","hooks_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/hooks","issue_events_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues/events{/number}","events_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/events","assignees_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/assignees{/user}","branches_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/branches{/branch}","tags_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/tags","blobs_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/statuses/{sha}","languages_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/languages","stargazers_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/stargazers","contributors_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/contributors","subscribers_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/subscribers","subscription_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/subscription","commits_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/contents/{+path}","compare_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/merges","archive_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/downloads","issues_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues{/number}","pulls_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls{/number}","milestones_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/milestones{/number}","notifications_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/labels{/name}","releases_url":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/releases{/id}","created_at":"2015-09-04T02:59:30Z","updated_at":"2015-09-07T17:12:27Z","pushed_at":"2015-09-08T03:49:19Z","git_url":"git://github.com/Ganon11/ExtraLifeWidgets.git","ssh_url":"git@github.com:Ganon11/ExtraLifeWidgets.git","clone_url":"https://github.com/Ganon11/ExtraLifeWidgets.git","svn_url":"https://github.com/Ganon11/ExtraLifeWidgets","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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/9"},"html":{"href":"https://github.com/Ganon11/ExtraLifeWidgets/pull/9"},"issue":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues/9"},"comments":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Ganon11/ExtraLifeWidgets/statuses/613d0a7218f1136200f5a7e10f4cfddd43f3ac39"}}}}