{"action":"created","comment":{"url":"https://api.github.com/repos/NetLogo/Tortoise/pulls/comments/120679126","pull_request_review_id":42662258,"id":120679126,"diff_hunk":"@@ -165,7 +168,15 @@ var procedures = (function() {\n           procedures[\"MAKE-FLAGELLA\"]();\n           SelfManager.self().setXY(Prims.randomCoord(world.topology.minPxcor, world.topology.maxPxcor), Prims.randomCoord(world.topology.minPycor, world.topology.maxPycor));\n         }, true);\n-      }), [1, 2, 3, 4, 5, 6]);\n+      }, \"[ this-variation ->","path":"resources/test/dumps/Bacteria Hunt Speeds.js","position":17,"original_position":17,"commit_id":"ac4e7623b1572cfdd08ba86e359c4025008e7fdf","original_commit_id":"ac4e7623b1572cfdd08ba86e359c4025008e7fdf","user":{"login":"TheBizzle","id":912890,"avatar_url":"https://avatars3.githubusercontent.com/u/912890?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBizzle","html_url":"https://github.com/TheBizzle","followers_url":"https://api.github.com/users/TheBizzle/followers","following_url":"https://api.github.com/users/TheBizzle/following{/other_user}","gists_url":"https://api.github.com/users/TheBizzle/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBizzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBizzle/subscriptions","organizations_url":"https://api.github.com/users/TheBizzle/orgs","repos_url":"https://api.github.com/users/TheBizzle/repos","events_url":"https://api.github.com/users/TheBizzle/events{/privacy}","received_events_url":"https://api.github.com/users/TheBizzle/received_events","type":"User","site_admin":false},"body":"I think I follow the thought process here, but I'd be interested to know what problems you're predicting from this.  My intuition is that this can't really cause problems in NLW except in widgets, and then maybe the escaping should only be handled there.  Either way, seems to me that this concern is not exclusive to anonprocs—strings are probably the most concerning in this regard.\r\n\r\nI'm not opposed to HTML-escaping the strings, but I do have concerns about us doing the escaping too soon, since doing so can actually change the behavior of a model (e.g. `let f [x -> x] show ifelse-value (length (word \"\" f) <= 8)\r\n [ \"shorty\" ] [ \"lengthy\" ]` could lead to different results across NLW and NL if we HTML-escape within the compiler or engine).","created_at":"2017-06-07T16:39:38Z","updated_at":"2017-06-07T16:39:38Z","html_url":"https://github.com/NetLogo/Tortoise/pull/190#discussion_r120679126","pull_request_url":"https://api.github.com/repos/NetLogo/Tortoise/pulls/190","_links":{"self":{"href":"https://api.github.com/repos/NetLogo/Tortoise/pulls/comments/120679126"},"html":{"href":"https://github.com/NetLogo/Tortoise/pull/190#discussion_r120679126"},"pull_request":{"href":"https://api.github.com/repos/NetLogo/Tortoise/pulls/190"}}},"pull_request":{"url":"https://api.github.com/repos/NetLogo/Tortoise/pulls/190","id":123516115,"html_url":"https://github.com/NetLogo/Tortoise/pull/190","diff_url":"https://github.com/NetLogo/Tortoise/pull/190.diff","patch_url":"https://github.com/NetLogo/Tortoise/pull/190.patch","issue_url":"https://api.github.com/repos/NetLogo/Tortoise/issues/190","number":190,"state":"open","locked":false,"title":"Add nlogo source text to compiler context so we can use it to output …","user":{"login":"LaCuneta","id":1902591,"avatar_url":"https://avatars0.githubusercontent.com/u/1902591?v=3","gravatar_id":"","url":"https://api.github.com/users/LaCuneta","html_url":"https://github.com/LaCuneta","followers_url":"https://api.github.com/users/LaCuneta/followers","following_url":"https://api.github.com/users/LaCuneta/following{/other_user}","gists_url":"https://api.github.com/users/LaCuneta/gists{/gist_id}","starred_url":"https://api.github.com/users/LaCuneta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaCuneta/subscriptions","organizations_url":"https://api.github.com/users/LaCuneta/orgs","repos_url":"https://api.github.com/users/LaCuneta/repos","events_url":"https://api.github.com/users/LaCuneta/events{/privacy}","received_events_url":"https://api.github.com/users/LaCuneta/received_events","type":"User","site_admin":false},"body":"…anonymous report and anonymous command information similar to NetLogo desktop.\r\n\r\n- Add source field to compiler context, populated appropriately at compilation entry points.\r\n- Store NetLogo source snippets in anonymous procedures to be available for display\r\n- Update JavaScript generation to insert NetLogo source to the anonymous procedure display dumps.","created_at":"2017-06-01T14:41:44Z","updated_at":"2017-06-07T16:39:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5fe5f9a5fc73d570b6eebae73b8ad756a2af246","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/NetLogo/Tortoise/pulls/190/commits","review_comments_url":"https://api.github.com/repos/NetLogo/Tortoise/pulls/190/comments","review_comment_url":"https://api.github.com/repos/NetLogo/Tortoise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NetLogo/Tortoise/issues/190/comments","statuses_url":"https://api.github.com/repos/NetLogo/Tortoise/statuses/ac4e7623b1572cfdd08ba86e359c4025008e7fdf","head":{"label":"NetLogo:wip-issue-183","ref":"wip-issue-183","sha":"ac4e7623b1572cfdd08ba86e359c4025008e7fdf","user":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars2.githubusercontent.com/u/767367?v=3","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"repo":{"id":13257961,"name":"Tortoise","full_name":"NetLogo/Tortoise","owner":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars2.githubusercontent.com/u/767367?v=3","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NetLogo/Tortoise","description":"JavaScript-based runtime for NetLogo","fork":false,"url":"https://api.github.com/repos/NetLogo/Tortoise","forks_url":"https://api.github.com/repos/NetLogo/Tortoise/forks","keys_url":"https://api.github.com/repos/NetLogo/Tortoise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NetLogo/Tortoise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NetLogo/Tortoise/teams","hooks_url":"https://api.github.com/repos/NetLogo/Tortoise/hooks","issue_events_url":"https://api.github.com/repos/NetLogo/Tortoise/issues/events{/number}","events_url":"https://api.github.com/repos/NetLogo/Tortoise/events","assignees_url":"https://api.github.com/repos/NetLogo/Tortoise/assignees{/user}","branches_url":"https://api.github.com/repos/NetLogo/Tortoise/branches{/branch}","tags_url":"https://api.github.com/repos/NetLogo/Tortoise/tags","blobs_url":"https://api.github.com/repos/NetLogo/Tortoise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NetLogo/Tortoise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NetLogo/Tortoise/git/refs{/sha}","trees_url":"https://api.github.com/repos/NetLogo/Tortoise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NetLogo/Tortoise/statuses/{sha}","languages_url":"https://api.github.com/repos/NetLogo/Tortoise/languages","stargazers_url":"https://api.github.com/repos/NetLogo/Tortoise/stargazers","contributors_url":"https://api.github.com/repos/NetLogo/Tortoise/contributors","subscribers_url":"https://api.github.com/repos/NetLogo/Tortoise/subscribers","subscription_url":"https://api.github.com/repos/NetLogo/Tortoise/subscription","commits_url":"https://api.github.com/repos/NetLogo/Tortoise/commits{/sha}","git_commits_url":"https://api.github.com/repos/NetLogo/Tortoise/git/commits{/sha}","comments_url":"https://api.github.com/repos/NetLogo/Tortoise/comments{/number}","issue_comment_url":"https://api.github.com/repos/NetLogo/Tortoise/issues/comments{/number}","contents_url":"https://api.github.com/repos/NetLogo/Tortoise/contents/{+path}","compare_url":"https://api.github.com/repos/NetLogo/Tortoise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NetLogo/Tortoise/merges","archive_url":"https://api.github.com/repos/NetLogo/Tortoise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NetLogo/Tortoise/downloads","issues_url":"https://api.github.com/repos/NetLogo/Tortoise/issues{/number}","pulls_url":"https://api.github.com/repos/NetLogo/Tortoise/pulls{/number}","milestones_url":"https://api.github.com/repos/NetLogo/Tortoise/milestones{/number}","notifications_url":"https://api.github.com/repos/NetLogo/Tortoise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NetLogo/Tortoise/labels{/name}","releases_url":"https://api.github.com/repos/NetLogo/Tortoise/releases{/id}","deployments_url":"https://api.github.com/repos/NetLogo/Tortoise/deployments","created_at":"2013-10-01T22:59:33Z","updated_at":"2017-05-11T19:04:25Z","pushed_at":"2017-06-07T16:27:03Z","git_url":"git://github.com/NetLogo/Tortoise.git","ssh_url":"git@github.com:NetLogo/Tortoise.git","clone_url":"https://github.com/NetLogo/Tortoise.git","svn_url":"https://github.com/NetLogo/Tortoise","homepage":null,"size":6725,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":14,"forks":10,"open_issues":14,"watchers":19,"default_branch":"master"}},"base":{"label":"NetLogo:wip-hexy","ref":"wip-hexy","sha":"935e4eeb7e6b4ec0d6039b164556803a6aca8bc7","user":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars2.githubusercontent.com/u/767367?v=3","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"repo":{"id":13257961,"name":"Tortoise","full_name":"NetLogo/Tortoise","owner":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars2.githubusercontent.com/u/767367?v=3","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NetLogo/Tortoise","description":"JavaScript-based runtime for NetLogo","fork":false,"url":"https://api.github.com/repos/NetLogo/Tortoise","forks_url":"https://api.github.com/repos/NetLogo/Tortoise/forks","keys_url":"https://api.github.com/repos/NetLogo/Tortoise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NetLogo/Tortoise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NetLogo/Tortoise/teams","hooks_url":"https://api.github.com/repos/NetLogo/Tortoise/hooks","issue_events_url":"https://api.github.com/repos/NetLogo/Tortoise/issues/events{/number}","events_url":"https://api.github.com/repos/NetLogo/Tortoise/events","assignees_url":"https://api.github.com/repos/NetLogo/Tortoise/assignees{/user}","branches_url":"https://api.github.com/repos/NetLogo/Tortoise/branches{/branch}","tags_url":"https://api.github.com/repos/NetLogo/Tortoise/tags","blobs_url":"https://api.github.com/repos/NetLogo/Tortoise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NetLogo/Tortoise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NetLogo/Tortoise/git/refs{/sha}","trees_url":"https://api.github.com/repos/NetLogo/Tortoise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NetLogo/Tortoise/statuses/{sha}","languages_url":"https://api.github.com/repos/NetLogo/Tortoise/languages","stargazers_url":"https://api.github.com/repos/NetLogo/Tortoise/stargazers","contributors_url":"https://api.github.com/repos/NetLogo/Tortoise/contributors","subscribers_url":"https://api.github.com/repos/NetLogo/Tortoise/subscribers","subscription_url":"https://api.github.com/repos/NetLogo/Tortoise/subscription","commits_url":"https://api.github.com/repos/NetLogo/Tortoise/commits{/sha}","git_commits_url":"https://api.github.com/repos/NetLogo/Tortoise/git/commits{/sha}","comments_url":"https://api.github.com/repos/NetLogo/Tortoise/comments{/number}","issue_comment_url":"https://api.github.com/repos/NetLogo/Tortoise/issues/comments{/number}","contents_url":"https://api.github.com/repos/NetLogo/Tortoise/contents/{+path}","compare_url":"https://api.github.com/repos/NetLogo/Tortoise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NetLogo/Tortoise/merges","archive_url":"https://api.github.com/repos/NetLogo/Tortoise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NetLogo/Tortoise/downloads","issues_url":"https://api.github.com/repos/NetLogo/Tortoise/issues{/number}","pulls_url":"https://api.github.com/repos/NetLogo/Tortoise/pulls{/number}","milestones_url":"https://api.github.com/repos/NetLogo/Tortoise/milestones{/number}","notifications_url":"https://api.github.com/repos/NetLogo/Tortoise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NetLogo/Tortoise/labels{/name}","releases_url":"https://api.github.com/repos/NetLogo/Tortoise/releases{/id}","deployments_url":"https://api.github.com/repos/NetLogo/Tortoise/deployments","created_at":"2013-10-01T22:59:33Z","updated_at":"2017-05-11T19:04:25Z","pushed_at":"2017-06-07T16:27:03Z","git_url":"git://github.com/NetLogo/Tortoise.git","ssh_url":"git@github.com:NetLogo/Tortoise.git","clone_url":"https://github.com/NetLogo/Tortoise.git","svn_url":"https://github.com/NetLogo/Tortoise","homepage":null,"size":6725,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":14,"forks":10,"open_issues":14,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NetLogo/Tortoise/pulls/190"},"html":{"href":"https://github.com/NetLogo/Tortoise/pull/190"},"issue":{"href":"https://api.github.com/repos/NetLogo/Tortoise/issues/190"},"comments":{"href":"https://api.github.com/repos/NetLogo/Tortoise/issues/190/comments"},"review_comments":{"href":"https://api.github.com/repos/NetLogo/Tortoise/pulls/190/comments"},"review_comment":{"href":"https://api.github.com/repos/NetLogo/Tortoise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NetLogo/Tortoise/pulls/190/commits"},"statuses":{"href":"https://api.github.com/repos/NetLogo/Tortoise/statuses/ac4e7623b1572cfdd08ba86e359c4025008e7fdf"}}}}
{"actor":{"display_login":"TheBizzle"}}