{"action":"created","comment":{"url":"https://api.github.com/repos/google/codeworld/pulls/comments/130185294","pull_request_review_id":53038310,"id":130185294,"diff_hunk":"@@ -111,6 +112,38 @@ function initDebugMode(getStackAtPoint) {\n     });\n }\n \n+function createSrcLink(pic) {\n+    var li = document.createElement(\"li\");\n+\n+    var preludeLink = \"/doc/Prelude.html#v:\" + pic.name;","path":"web/js/debugmode.js","position":91,"original_position":91,"commit_id":"ced60f003b4c3045094171818e32e99910616bb9","original_commit_id":"ced60f003b4c3045094171818e32e99910616bb9","user":{"login":"cdsmith","id":544744,"avatar_url":"https://avatars1.githubusercontent.com/u/544744?v=4","gravatar_id":"","url":"https://api.github.com/users/cdsmith","html_url":"https://github.com/cdsmith","followers_url":"https://api.github.com/users/cdsmith/followers","following_url":"https://api.github.com/users/cdsmith/following{/other_user}","gists_url":"https://api.github.com/users/cdsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cdsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdsmith/subscriptions","organizations_url":"https://api.github.com/users/cdsmith/orgs","repos_url":"https://api.github.com/users/cdsmith/repos","events_url":"https://api.github.com/users/cdsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cdsmith/received_events","type":"User","site_admin":false},"body":"Interesting idea, but I actually want to get rid of links to Haddock, because they contain a lot of Haskell-isms that CodeWorld should ignore.","created_at":"2017-07-28T21:00:41Z","updated_at":"2017-07-28T21:08:20Z","html_url":"https://github.com/google/codeworld/pull/529#discussion_r130185294","pull_request_url":"https://api.github.com/repos/google/codeworld/pulls/529","_links":{"self":{"href":"https://api.github.com/repos/google/codeworld/pulls/comments/130185294"},"html":{"href":"https://github.com/google/codeworld/pull/529#discussion_r130185294"},"pull_request":{"href":"https://api.github.com/repos/google/codeworld/pulls/529"}}},"pull_request":{"url":"https://api.github.com/repos/google/codeworld/pulls/529","id":133043912,"html_url":"https://github.com/google/codeworld/pull/529","diff_url":"https://github.com/google/codeworld/pull/529.diff","patch_url":"https://github.com/google/codeworld/pull/529.patch","issue_url":"https://api.github.com/repos/google/codeworld/issues/529","number":529,"state":"open","locked":false,"title":"Add debugmode support to animationOf, simulationOf and interactionOf","user":{"login":"three","id":1761259,"avatar_url":"https://avatars1.githubusercontent.com/u/1761259?v=4","gravatar_id":"","url":"https://api.github.com/users/three","html_url":"https://github.com/three","followers_url":"https://api.github.com/users/three/followers","following_url":"https://api.github.com/users/three/following{/other_user}","gists_url":"https://api.github.com/users/three/gists{/gist_id}","starred_url":"https://api.github.com/users/three/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/three/subscriptions","organizations_url":"https://api.github.com/users/three/orgs","repos_url":"https://api.github.com/users/three/repos","events_url":"https://api.github.com/users/three/events{/privacy}","received_events_url":"https://api.github.com/users/three/received_events","type":"User","site_admin":false},"body":"This PR adds support for debugmode to animationOf, simulationOf and interactionOf. The animationOf and simulationOf entry must be paused before inspecting. The interactionOf entrypoint will automatically pause by clicking Inspect and will not receive events while paused. This PR should also fix bugs #521, #516 and #517.\r\n\r\nThe `isPointInStroke` function is used for strokes, consistent with `isPointInPath` for solid shapes. Line numbers in infobox are better aligned and names link to their documentation. The inspect button will only show if available. Pausing was originally implemented by holding an MVar that was released when leaving debugmode, but is now implemented as wrappers around states and events that is cleaner and requires less changes. An unreported bug where text couldn't be properly inspected was fixed.","created_at":"2017-07-28T20:15:08Z","updated_at":"2017-07-28T21:08:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bdeed32457608ee42c548f7b3a8ae04a177caf1a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/codeworld/pulls/529/commits","review_comments_url":"https://api.github.com/repos/google/codeworld/pulls/529/comments","review_comment_url":"https://api.github.com/repos/google/codeworld/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/codeworld/issues/529/comments","statuses_url":"https://api.github.com/repos/google/codeworld/statuses/ced60f003b4c3045094171818e32e99910616bb9","head":{"label":"three:debugmode","ref":"debugmode","sha":"ced60f003b4c3045094171818e32e99910616bb9","user":{"login":"three","id":1761259,"avatar_url":"https://avatars1.githubusercontent.com/u/1761259?v=4","gravatar_id":"","url":"https://api.github.com/users/three","html_url":"https://github.com/three","followers_url":"https://api.github.com/users/three/followers","following_url":"https://api.github.com/users/three/following{/other_user}","gists_url":"https://api.github.com/users/three/gists{/gist_id}","starred_url":"https://api.github.com/users/three/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/three/subscriptions","organizations_url":"https://api.github.com/users/three/orgs","repos_url":"https://api.github.com/users/three/repos","events_url":"https://api.github.com/users/three/events{/privacy}","received_events_url":"https://api.github.com/users/three/received_events","type":"User","site_admin":false},"repo":{"id":87356192,"name":"codeworld","full_name":"three/codeworld","owner":{"login":"three","id":1761259,"avatar_url":"https://avatars1.githubusercontent.com/u/1761259?v=4","gravatar_id":"","url":"https://api.github.com/users/three","html_url":"https://github.com/three","followers_url":"https://api.github.com/users/three/followers","following_url":"https://api.github.com/users/three/following{/other_user}","gists_url":"https://api.github.com/users/three/gists{/gist_id}","starred_url":"https://api.github.com/users/three/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/three/subscriptions","organizations_url":"https://api.github.com/users/three/orgs","repos_url":"https://api.github.com/users/three/repos","events_url":"https://api.github.com/users/three/events{/privacy}","received_events_url":"https://api.github.com/users/three/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/three/codeworld","description":"Educational computer programming environment using Haskell","fork":true,"url":"https://api.github.com/repos/three/codeworld","forks_url":"https://api.github.com/repos/three/codeworld/forks","keys_url":"https://api.github.com/repos/three/codeworld/keys{/key_id}","collaborators_url":"https://api.github.com/repos/three/codeworld/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/three/codeworld/teams","hooks_url":"https://api.github.com/repos/three/codeworld/hooks","issue_events_url":"https://api.github.com/repos/three/codeworld/issues/events{/number}","events_url":"https://api.github.com/repos/three/codeworld/events","assignees_url":"https://api.github.com/repos/three/codeworld/assignees{/user}","branches_url":"https://api.github.com/repos/three/codeworld/branches{/branch}","tags_url":"https://api.github.com/repos/three/codeworld/tags","blobs_url":"https://api.github.com/repos/three/codeworld/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/three/codeworld/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/three/codeworld/git/refs{/sha}","trees_url":"https://api.github.com/repos/three/codeworld/git/trees{/sha}","statuses_url":"https://api.github.com/repos/three/codeworld/statuses/{sha}","languages_url":"https://api.github.com/repos/three/codeworld/languages","stargazers_url":"https://api.github.com/repos/three/codeworld/stargazers","contributors_url":"https://api.github.com/repos/three/codeworld/contributors","subscribers_url":"https://api.github.com/repos/three/codeworld/subscribers","subscription_url":"https://api.github.com/repos/three/codeworld/subscription","commits_url":"https://api.github.com/repos/three/codeworld/commits{/sha}","git_commits_url":"https://api.github.com/repos/three/codeworld/git/commits{/sha}","comments_url":"https://api.github.com/repos/three/codeworld/comments{/number}","issue_comment_url":"https://api.github.com/repos/three/codeworld/issues/comments{/number}","contents_url":"https://api.github.com/repos/three/codeworld/contents/{+path}","compare_url":"https://api.github.com/repos/three/codeworld/compare/{base}...{head}","merges_url":"https://api.github.com/repos/three/codeworld/merges","archive_url":"https://api.github.com/repos/three/codeworld/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/three/codeworld/downloads","issues_url":"https://api.github.com/repos/three/codeworld/issues{/number}","pulls_url":"https://api.github.com/repos/three/codeworld/pulls{/number}","milestones_url":"https://api.github.com/repos/three/codeworld/milestones{/number}","notifications_url":"https://api.github.com/repos/three/codeworld/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/three/codeworld/labels{/name}","releases_url":"https://api.github.com/repos/three/codeworld/releases{/id}","deployments_url":"https://api.github.com/repos/three/codeworld/deployments","created_at":"2017-04-05T21:02:06Z","updated_at":"2017-04-05T21:02:08Z","pushed_at":"2017-07-28T19:56:35Z","git_url":"git://github.com/three/codeworld.git","ssh_url":"git@github.com:three/codeworld.git","clone_url":"https://github.com/three/codeworld.git","svn_url":"https://github.com/three/codeworld","homepage":"http://code.world","size":2194,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"google:master","ref":"master","sha":"fc4960401a449774d48111a4be10c44ecd1e9198","user":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","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":21016984,"name":"codeworld","full_name":"google/codeworld","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","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/codeworld","description":"Educational computer programming environment using Haskell","fork":false,"url":"https://api.github.com/repos/google/codeworld","forks_url":"https://api.github.com/repos/google/codeworld/forks","keys_url":"https://api.github.com/repos/google/codeworld/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/codeworld/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/codeworld/teams","hooks_url":"https://api.github.com/repos/google/codeworld/hooks","issue_events_url":"https://api.github.com/repos/google/codeworld/issues/events{/number}","events_url":"https://api.github.com/repos/google/codeworld/events","assignees_url":"https://api.github.com/repos/google/codeworld/assignees{/user}","branches_url":"https://api.github.com/repos/google/codeworld/branches{/branch}","tags_url":"https://api.github.com/repos/google/codeworld/tags","blobs_url":"https://api.github.com/repos/google/codeworld/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/codeworld/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/codeworld/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/codeworld/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/codeworld/statuses/{sha}","languages_url":"https://api.github.com/repos/google/codeworld/languages","stargazers_url":"https://api.github.com/repos/google/codeworld/stargazers","contributors_url":"https://api.github.com/repos/google/codeworld/contributors","subscribers_url":"https://api.github.com/repos/google/codeworld/subscribers","subscription_url":"https://api.github.com/repos/google/codeworld/subscription","commits_url":"https://api.github.com/repos/google/codeworld/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/codeworld/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/codeworld/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/codeworld/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/codeworld/contents/{+path}","compare_url":"https://api.github.com/repos/google/codeworld/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/codeworld/merges","archive_url":"https://api.github.com/repos/google/codeworld/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/codeworld/downloads","issues_url":"https://api.github.com/repos/google/codeworld/issues{/number}","pulls_url":"https://api.github.com/repos/google/codeworld/pulls{/number}","milestones_url":"https://api.github.com/repos/google/codeworld/milestones{/number}","notifications_url":"https://api.github.com/repos/google/codeworld/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/codeworld/labels{/name}","releases_url":"https://api.github.com/repos/google/codeworld/releases{/id}","deployments_url":"https://api.github.com/repos/google/codeworld/deployments","created_at":"2014-06-19T21:56:15Z","updated_at":"2017-07-28T19:52:39Z","pushed_at":"2017-07-28T20:15:09Z","git_url":"git://github.com/google/codeworld.git","ssh_url":"git@github.com:google/codeworld.git","clone_url":"https://github.com/google/codeworld.git","svn_url":"https://github.com/google/codeworld","homepage":"http://code.world","size":2113,"stargazers_count":646,"watchers_count":646,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":86,"mirror_url":null,"open_issues_count":165,"forks":86,"open_issues":165,"watchers":646,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/codeworld/pulls/529"},"html":{"href":"https://github.com/google/codeworld/pull/529"},"issue":{"href":"https://api.github.com/repos/google/codeworld/issues/529"},"comments":{"href":"https://api.github.com/repos/google/codeworld/issues/529/comments"},"review_comments":{"href":"https://api.github.com/repos/google/codeworld/pulls/529/comments"},"review_comment":{"href":"https://api.github.com/repos/google/codeworld/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/codeworld/pulls/529/commits"},"statuses":{"href":"https://api.github.com/repos/google/codeworld/statuses/ced60f003b4c3045094171818e32e99910616bb9"}}}}
{"actor":{"display_login":"cdsmith"}}