{"action":"created","comment":{"url":"https://api.github.com/repos/google/blockly-games/pulls/comments/80094786","id":80094786,"diff_hunk":"@@ -324,187 +535,218 @@ Genetics.Visualization.processCageEvents_ = function() {\n   var getMouseName = Genetics.Visualization.getMouseName;\n   while (Genetics.Cage.EVENTS.length) {\n     var event = Genetics.Cage.EVENTS.shift();\n+\n+    var mouse = (event['ID'] != null) ?\n+        Genetics.Visualization.mice_[event['ID']] : null;","path":"appengine/genetics/js/visualization.js","position":524,"original_position":524,"commit_id":"e19fe4782f13a203fa80af4e964905fc1822a8b3","original_commit_id":"e19fe4782f13a203fa80af4e964905fc1822a8b3","user":{"login":"NeilFraser","id":250480,"avatar_url":"https://avatars.githubusercontent.com/u/250480?v=3","gravatar_id":"","url":"https://api.github.com/users/NeilFraser","html_url":"https://github.com/NeilFraser","followers_url":"https://api.github.com/users/NeilFraser/followers","following_url":"https://api.github.com/users/NeilFraser/following{/other_user}","gists_url":"https://api.github.com/users/NeilFraser/gists{/gist_id}","starred_url":"https://api.github.com/users/NeilFraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeilFraser/subscriptions","organizations_url":"https://api.github.com/users/NeilFraser/orgs","repos_url":"https://api.github.com/users/NeilFraser/repos","events_url":"https://api.github.com/users/NeilFraser/events{/privacy}","received_events_url":"https://api.github.com/users/NeilFraser/received_events","type":"User","site_admin":false},"body":"I see.  Since we are making a distinction between null and 0, it would be good to use !== here.","created_at":"2016-09-22T17:37:26Z","updated_at":"2016-09-22T17:37:26Z","html_url":"https://github.com/google/blockly-games/pull/42#discussion_r80094786","pull_request_url":"https://api.github.com/repos/google/blockly-games/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/google/blockly-games/pulls/comments/80094786"},"html":{"href":"https://github.com/google/blockly-games/pull/42#discussion_r80094786"},"pull_request":{"href":"https://api.github.com/repos/google/blockly-games/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/google/blockly-games/pulls/42","id":86262609,"html_url":"https://github.com/google/blockly-games/pull/42","diff_url":"https://github.com/google/blockly-games/pull/42.diff","patch_url":"https://github.com/google/blockly-games/pull/42.patch","issue_url":"https://api.github.com/repos/google/blockly-games/issues/42","number":42,"state":"open","locked":false,"title":"Genetics Game Visualization [NOT READY FOR MERGE]","user":{"login":"moniika","id":6621618,"avatar_url":"https://avatars.githubusercontent.com/u/6621618?v=3","gravatar_id":"","url":"https://api.github.com/users/moniika","html_url":"https://github.com/moniika","followers_url":"https://api.github.com/users/moniika/followers","following_url":"https://api.github.com/users/moniika/following{/other_user}","gists_url":"https://api.github.com/users/moniika/gists{/gist_id}","starred_url":"https://api.github.com/users/moniika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moniika/subscriptions","organizations_url":"https://api.github.com/users/moniika/orgs","repos_url":"https://api.github.com/users/moniika/repos","events_url":"https://api.github.com/users/moniika/events{/privacy}","received_events_url":"https://api.github.com/users/moniika/received_events","type":"User","site_admin":false},"body":"Refactoring logic and extension to Genetics game visualization.","created_at":"2016-09-22T00:09:08Z","updated_at":"2016-09-22T17:37:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9a7da557a7cf1d935aa74de2b76445857a8fe62","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/blockly-games/pulls/42/commits","review_comments_url":"https://api.github.com/repos/google/blockly-games/pulls/42/comments","review_comment_url":"https://api.github.com/repos/google/blockly-games/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/blockly-games/issues/42/comments","statuses_url":"https://api.github.com/repos/google/blockly-games/statuses/e19fe4782f13a203fa80af4e964905fc1822a8b3","head":{"label":"google:genetics-lab","ref":"genetics-lab","sha":"e19fe4782f13a203fa80af4e964905fc1822a8b3","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":23320068,"name":"blockly-games","full_name":"google/blockly-games","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/blockly-games","description":"Games for tomorrow's programmers.","fork":false,"url":"https://api.github.com/repos/google/blockly-games","forks_url":"https://api.github.com/repos/google/blockly-games/forks","keys_url":"https://api.github.com/repos/google/blockly-games/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/blockly-games/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/blockly-games/teams","hooks_url":"https://api.github.com/repos/google/blockly-games/hooks","issue_events_url":"https://api.github.com/repos/google/blockly-games/issues/events{/number}","events_url":"https://api.github.com/repos/google/blockly-games/events","assignees_url":"https://api.github.com/repos/google/blockly-games/assignees{/user}","branches_url":"https://api.github.com/repos/google/blockly-games/branches{/branch}","tags_url":"https://api.github.com/repos/google/blockly-games/tags","blobs_url":"https://api.github.com/repos/google/blockly-games/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/blockly-games/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/blockly-games/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/blockly-games/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/blockly-games/statuses/{sha}","languages_url":"https://api.github.com/repos/google/blockly-games/languages","stargazers_url":"https://api.github.com/repos/google/blockly-games/stargazers","contributors_url":"https://api.github.com/repos/google/blockly-games/contributors","subscribers_url":"https://api.github.com/repos/google/blockly-games/subscribers","subscription_url":"https://api.github.com/repos/google/blockly-games/subscription","commits_url":"https://api.github.com/repos/google/blockly-games/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/blockly-games/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/blockly-games/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/blockly-games/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/blockly-games/contents/{+path}","compare_url":"https://api.github.com/repos/google/blockly-games/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/blockly-games/merges","archive_url":"https://api.github.com/repos/google/blockly-games/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/blockly-games/downloads","issues_url":"https://api.github.com/repos/google/blockly-games/issues{/number}","pulls_url":"https://api.github.com/repos/google/blockly-games/pulls{/number}","milestones_url":"https://api.github.com/repos/google/blockly-games/milestones{/number}","notifications_url":"https://api.github.com/repos/google/blockly-games/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/blockly-games/labels{/name}","releases_url":"https://api.github.com/repos/google/blockly-games/releases{/id}","deployments_url":"https://api.github.com/repos/google/blockly-games/deployments","created_at":"2014-08-25T16:09:42Z","updated_at":"2016-09-22T04:32:51Z","pushed_at":"2016-09-22T05:15:51Z","git_url":"git://github.com/google/blockly-games.git","ssh_url":"git@github.com:google/blockly-games.git","clone_url":"https://github.com/google/blockly-games.git","svn_url":"https://github.com/google/blockly-games","homepage":"https://blockly-games.appspot.com/","size":726555,"stargazers_count":276,"watchers_count":276,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":10,"forks":155,"open_issues":10,"watchers":276,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"6562f718da069fbc0acf0cfb4b1ccd563dcc40b9","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":23320068,"name":"blockly-games","full_name":"google/blockly-games","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/blockly-games","description":"Games for tomorrow's programmers.","fork":false,"url":"https://api.github.com/repos/google/blockly-games","forks_url":"https://api.github.com/repos/google/blockly-games/forks","keys_url":"https://api.github.com/repos/google/blockly-games/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/blockly-games/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/blockly-games/teams","hooks_url":"https://api.github.com/repos/google/blockly-games/hooks","issue_events_url":"https://api.github.com/repos/google/blockly-games/issues/events{/number}","events_url":"https://api.github.com/repos/google/blockly-games/events","assignees_url":"https://api.github.com/repos/google/blockly-games/assignees{/user}","branches_url":"https://api.github.com/repos/google/blockly-games/branches{/branch}","tags_url":"https://api.github.com/repos/google/blockly-games/tags","blobs_url":"https://api.github.com/repos/google/blockly-games/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/blockly-games/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/blockly-games/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/blockly-games/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/blockly-games/statuses/{sha}","languages_url":"https://api.github.com/repos/google/blockly-games/languages","stargazers_url":"https://api.github.com/repos/google/blockly-games/stargazers","contributors_url":"https://api.github.com/repos/google/blockly-games/contributors","subscribers_url":"https://api.github.com/repos/google/blockly-games/subscribers","subscription_url":"https://api.github.com/repos/google/blockly-games/subscription","commits_url":"https://api.github.com/repos/google/blockly-games/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/blockly-games/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/blockly-games/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/blockly-games/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/blockly-games/contents/{+path}","compare_url":"https://api.github.com/repos/google/blockly-games/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/blockly-games/merges","archive_url":"https://api.github.com/repos/google/blockly-games/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/blockly-games/downloads","issues_url":"https://api.github.com/repos/google/blockly-games/issues{/number}","pulls_url":"https://api.github.com/repos/google/blockly-games/pulls{/number}","milestones_url":"https://api.github.com/repos/google/blockly-games/milestones{/number}","notifications_url":"https://api.github.com/repos/google/blockly-games/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/blockly-games/labels{/name}","releases_url":"https://api.github.com/repos/google/blockly-games/releases{/id}","deployments_url":"https://api.github.com/repos/google/blockly-games/deployments","created_at":"2014-08-25T16:09:42Z","updated_at":"2016-09-22T04:32:51Z","pushed_at":"2016-09-22T05:15:51Z","git_url":"git://github.com/google/blockly-games.git","ssh_url":"git@github.com:google/blockly-games.git","clone_url":"https://github.com/google/blockly-games.git","svn_url":"https://github.com/google/blockly-games","homepage":"https://blockly-games.appspot.com/","size":726555,"stargazers_count":276,"watchers_count":276,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":10,"forks":155,"open_issues":10,"watchers":276,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/blockly-games/pulls/42"},"html":{"href":"https://github.com/google/blockly-games/pull/42"},"issue":{"href":"https://api.github.com/repos/google/blockly-games/issues/42"},"comments":{"href":"https://api.github.com/repos/google/blockly-games/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/google/blockly-games/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/google/blockly-games/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/blockly-games/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/google/blockly-games/statuses/e19fe4782f13a203fa80af4e964905fc1822a8b3"}}}}
{"actor":{"display_login":"NeilFraser"}}