{"action":"created","comment":{"url":"https://api.github.com/repos/brownplt/pyret-lang/pulls/comments/43048665","id":43048665,"diff_hunk":"@@ -70,12 +67,38 @@ define([\"js/runtime-util\", \"js/ffi-helpers\", \"trove/json\", \"trove/world\", \"trove\n \n \n           //////////////////////////////////////////////////////////////////////\n-          \n-          var ToParticle = function(handler, ename, sdict) {\n+\n+          var sendEvent = function(ename, data, options) {\n+            var xhr = new XMLHttpRequest();","path":"src/js/trove/particle.js","position":76,"original_position":76,"commit_id":"510b6f6dde9d5d86c4485169c0215353b92dcbd8","original_commit_id":"510b6f6dde9d5d86c4485169c0215353b92dcbd8","user":{"login":"sstrickl","id":39109,"avatar_url":"https://avatars.githubusercontent.com/u/39109?v=3","gravatar_id":"","url":"https://api.github.com/users/sstrickl","html_url":"https://github.com/sstrickl","followers_url":"https://api.github.com/users/sstrickl/followers","following_url":"https://api.github.com/users/sstrickl/following{/other_user}","gists_url":"https://api.github.com/users/sstrickl/gists{/gist_id}","starred_url":"https://api.github.com/users/sstrickl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstrickl/subscriptions","organizations_url":"https://api.github.com/users/sstrickl/orgs","repos_url":"https://api.github.com/users/sstrickl/repos","events_url":"https://api.github.com/users/sstrickl/events{/privacy}","received_events_url":"https://api.github.com/users/sstrickl/received_events","type":"User","site_admin":false},"body":"It hasn't been a problem for me, but then again, I haven't been doing anything ultra-fancy with it.","created_at":"2015-10-26T20:33:20Z","updated_at":"2015-10-26T20:33:20Z","html_url":"https://github.com/brownplt/pyret-lang/pull/594#discussion_r43048665","pull_request_url":"https://api.github.com/repos/brownplt/pyret-lang/pulls/594","_links":{"self":{"href":"https://api.github.com/repos/brownplt/pyret-lang/pulls/comments/43048665"},"html":{"href":"https://github.com/brownplt/pyret-lang/pull/594#discussion_r43048665"},"pull_request":{"href":"https://api.github.com/repos/brownplt/pyret-lang/pulls/594"}}},"pull_request":{"url":"https://api.github.com/repos/brownplt/pyret-lang/pulls/594","id":48791834,"html_url":"https://github.com/brownplt/pyret-lang/pull/594","diff_url":"https://github.com/brownplt/pyret-lang/pull/594.diff","patch_url":"https://github.com/brownplt/pyret-lang/pull/594.patch","issue_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/594","number":594,"state":"open","locked":false,"title":"Adds support for core-specific commands and raw events.","user":{"login":"sstrickl","id":39109,"avatar_url":"https://avatars.githubusercontent.com/u/39109?v=3","gravatar_id":"","url":"https://api.github.com/users/sstrickl","html_url":"https://github.com/sstrickl","followers_url":"https://api.github.com/users/sstrickl/followers","following_url":"https://api.github.com/users/sstrickl/following{/other_user}","gists_url":"https://api.github.com/users/sstrickl/gists{/gist_id}","starred_url":"https://api.github.com/users/sstrickl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstrickl/subscriptions","organizations_url":"https://api.github.com/users/sstrickl/orgs","repos_url":"https://api.github.com/users/sstrickl/repos","events_url":"https://api.github.com/users/sstrickl/events{/privacy}","received_events_url":"https://api.github.com/users/sstrickl/received_events","type":"User","site_admin":false},"body":"These commits add support for the `\"core\"` and `\"raw\"` option keys, and also has `configure-core` take in the same options hash (so that it can be shared between all calls if desired).  The `\"core\"` key should be mapped to a string that is the short name of the desired core (*not* the hexadecimal ID).  The `\"raw\"` key should be set to either `true` or `false`, and if true, sends a regular event on the Particle stream, not a core stub-compatible `_event` wrapped event.  This makes it possible to send JSON-encoded data using the Particle stream between the same world or different worlds, or to interact with non-stub-using Particle cores.","created_at":"2015-10-26T20:22:06Z","updated_at":"2015-10-26T20:33:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e96c1355766392cf98d242e536666378c9caf534","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brownplt/pyret-lang/pulls/594/commits","review_comments_url":"https://api.github.com/repos/brownplt/pyret-lang/pulls/594/comments","review_comment_url":"https://api.github.com/repos/brownplt/pyret-lang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/594/comments","statuses_url":"https://api.github.com/repos/brownplt/pyret-lang/statuses/510b6f6dde9d5d86c4485169c0215353b92dcbd8","head":{"label":"sstrickl:core-names","ref":"core-names","sha":"510b6f6dde9d5d86c4485169c0215353b92dcbd8","user":{"login":"sstrickl","id":39109,"avatar_url":"https://avatars.githubusercontent.com/u/39109?v=3","gravatar_id":"","url":"https://api.github.com/users/sstrickl","html_url":"https://github.com/sstrickl","followers_url":"https://api.github.com/users/sstrickl/followers","following_url":"https://api.github.com/users/sstrickl/following{/other_user}","gists_url":"https://api.github.com/users/sstrickl/gists{/gist_id}","starred_url":"https://api.github.com/users/sstrickl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstrickl/subscriptions","organizations_url":"https://api.github.com/users/sstrickl/orgs","repos_url":"https://api.github.com/users/sstrickl/repos","events_url":"https://api.github.com/users/sstrickl/events{/privacy}","received_events_url":"https://api.github.com/users/sstrickl/received_events","type":"User","site_admin":false},"repo":{"id":40317116,"name":"pyret-lang","full_name":"sstrickl/pyret-lang","owner":{"login":"sstrickl","id":39109,"avatar_url":"https://avatars.githubusercontent.com/u/39109?v=3","gravatar_id":"","url":"https://api.github.com/users/sstrickl","html_url":"https://github.com/sstrickl","followers_url":"https://api.github.com/users/sstrickl/followers","following_url":"https://api.github.com/users/sstrickl/following{/other_user}","gists_url":"https://api.github.com/users/sstrickl/gists{/gist_id}","starred_url":"https://api.github.com/users/sstrickl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstrickl/subscriptions","organizations_url":"https://api.github.com/users/sstrickl/orgs","repos_url":"https://api.github.com/users/sstrickl/repos","events_url":"https://api.github.com/users/sstrickl/events{/privacy}","received_events_url":"https://api.github.com/users/sstrickl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sstrickl/pyret-lang","description":"The Pyret language.","fork":true,"url":"https://api.github.com/repos/sstrickl/pyret-lang","forks_url":"https://api.github.com/repos/sstrickl/pyret-lang/forks","keys_url":"https://api.github.com/repos/sstrickl/pyret-lang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sstrickl/pyret-lang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sstrickl/pyret-lang/teams","hooks_url":"https://api.github.com/repos/sstrickl/pyret-lang/hooks","issue_events_url":"https://api.github.com/repos/sstrickl/pyret-lang/issues/events{/number}","events_url":"https://api.github.com/repos/sstrickl/pyret-lang/events","assignees_url":"https://api.github.com/repos/sstrickl/pyret-lang/assignees{/user}","branches_url":"https://api.github.com/repos/sstrickl/pyret-lang/branches{/branch}","tags_url":"https://api.github.com/repos/sstrickl/pyret-lang/tags","blobs_url":"https://api.github.com/repos/sstrickl/pyret-lang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sstrickl/pyret-lang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sstrickl/pyret-lang/git/refs{/sha}","trees_url":"https://api.github.com/repos/sstrickl/pyret-lang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sstrickl/pyret-lang/statuses/{sha}","languages_url":"https://api.github.com/repos/sstrickl/pyret-lang/languages","stargazers_url":"https://api.github.com/repos/sstrickl/pyret-lang/stargazers","contributors_url":"https://api.github.com/repos/sstrickl/pyret-lang/contributors","subscribers_url":"https://api.github.com/repos/sstrickl/pyret-lang/subscribers","subscription_url":"https://api.github.com/repos/sstrickl/pyret-lang/subscription","commits_url":"https://api.github.com/repos/sstrickl/pyret-lang/commits{/sha}","git_commits_url":"https://api.github.com/repos/sstrickl/pyret-lang/git/commits{/sha}","comments_url":"https://api.github.com/repos/sstrickl/pyret-lang/comments{/number}","issue_comment_url":"https://api.github.com/repos/sstrickl/pyret-lang/issues/comments{/number}","contents_url":"https://api.github.com/repos/sstrickl/pyret-lang/contents/{+path}","compare_url":"https://api.github.com/repos/sstrickl/pyret-lang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sstrickl/pyret-lang/merges","archive_url":"https://api.github.com/repos/sstrickl/pyret-lang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sstrickl/pyret-lang/downloads","issues_url":"https://api.github.com/repos/sstrickl/pyret-lang/issues{/number}","pulls_url":"https://api.github.com/repos/sstrickl/pyret-lang/pulls{/number}","milestones_url":"https://api.github.com/repos/sstrickl/pyret-lang/milestones{/number}","notifications_url":"https://api.github.com/repos/sstrickl/pyret-lang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sstrickl/pyret-lang/labels{/name}","releases_url":"https://api.github.com/repos/sstrickl/pyret-lang/releases{/id}","created_at":"2015-08-06T17:07:45Z","updated_at":"2015-08-06T17:07:47Z","pushed_at":"2015-10-26T20:14:21Z","git_url":"git://github.com/sstrickl/pyret-lang.git","ssh_url":"git@github.com:sstrickl/pyret-lang.git","clone_url":"https://github.com/sstrickl/pyret-lang.git","svn_url":"https://github.com/sstrickl/pyret-lang","homepage":null,"size":319599,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"brownplt:horizon","ref":"horizon","sha":"3f1845df3cf2e4a4174ab1444e8344111e6ad0c5","user":{"login":"brownplt","id":391839,"avatar_url":"https://avatars.githubusercontent.com/u/391839?v=3","gravatar_id":"","url":"https://api.github.com/users/brownplt","html_url":"https://github.com/brownplt","followers_url":"https://api.github.com/users/brownplt/followers","following_url":"https://api.github.com/users/brownplt/following{/other_user}","gists_url":"https://api.github.com/users/brownplt/gists{/gist_id}","starred_url":"https://api.github.com/users/brownplt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownplt/subscriptions","organizations_url":"https://api.github.com/users/brownplt/orgs","repos_url":"https://api.github.com/users/brownplt/repos","events_url":"https://api.github.com/users/brownplt/events{/privacy}","received_events_url":"https://api.github.com/users/brownplt/received_events","type":"Organization","site_admin":false},"repo":{"id":6698407,"name":"pyret-lang","full_name":"brownplt/pyret-lang","owner":{"login":"brownplt","id":391839,"avatar_url":"https://avatars.githubusercontent.com/u/391839?v=3","gravatar_id":"","url":"https://api.github.com/users/brownplt","html_url":"https://github.com/brownplt","followers_url":"https://api.github.com/users/brownplt/followers","following_url":"https://api.github.com/users/brownplt/following{/other_user}","gists_url":"https://api.github.com/users/brownplt/gists{/gist_id}","starred_url":"https://api.github.com/users/brownplt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brownplt/subscriptions","organizations_url":"https://api.github.com/users/brownplt/orgs","repos_url":"https://api.github.com/users/brownplt/repos","events_url":"https://api.github.com/users/brownplt/events{/privacy}","received_events_url":"https://api.github.com/users/brownplt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/brownplt/pyret-lang","description":"The Pyret language.","fork":false,"url":"https://api.github.com/repos/brownplt/pyret-lang","forks_url":"https://api.github.com/repos/brownplt/pyret-lang/forks","keys_url":"https://api.github.com/repos/brownplt/pyret-lang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brownplt/pyret-lang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brownplt/pyret-lang/teams","hooks_url":"https://api.github.com/repos/brownplt/pyret-lang/hooks","issue_events_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/events{/number}","events_url":"https://api.github.com/repos/brownplt/pyret-lang/events","assignees_url":"https://api.github.com/repos/brownplt/pyret-lang/assignees{/user}","branches_url":"https://api.github.com/repos/brownplt/pyret-lang/branches{/branch}","tags_url":"https://api.github.com/repos/brownplt/pyret-lang/tags","blobs_url":"https://api.github.com/repos/brownplt/pyret-lang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brownplt/pyret-lang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brownplt/pyret-lang/git/refs{/sha}","trees_url":"https://api.github.com/repos/brownplt/pyret-lang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brownplt/pyret-lang/statuses/{sha}","languages_url":"https://api.github.com/repos/brownplt/pyret-lang/languages","stargazers_url":"https://api.github.com/repos/brownplt/pyret-lang/stargazers","contributors_url":"https://api.github.com/repos/brownplt/pyret-lang/contributors","subscribers_url":"https://api.github.com/repos/brownplt/pyret-lang/subscribers","subscription_url":"https://api.github.com/repos/brownplt/pyret-lang/subscription","commits_url":"https://api.github.com/repos/brownplt/pyret-lang/commits{/sha}","git_commits_url":"https://api.github.com/repos/brownplt/pyret-lang/git/commits{/sha}","comments_url":"https://api.github.com/repos/brownplt/pyret-lang/comments{/number}","issue_comment_url":"https://api.github.com/repos/brownplt/pyret-lang/issues/comments{/number}","contents_url":"https://api.github.com/repos/brownplt/pyret-lang/contents/{+path}","compare_url":"https://api.github.com/repos/brownplt/pyret-lang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brownplt/pyret-lang/merges","archive_url":"https://api.github.com/repos/brownplt/pyret-lang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brownplt/pyret-lang/downloads","issues_url":"https://api.github.com/repos/brownplt/pyret-lang/issues{/number}","pulls_url":"https://api.github.com/repos/brownplt/pyret-lang/pulls{/number}","milestones_url":"https://api.github.com/repos/brownplt/pyret-lang/milestones{/number}","notifications_url":"https://api.github.com/repos/brownplt/pyret-lang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brownplt/pyret-lang/labels{/name}","releases_url":"https://api.github.com/repos/brownplt/pyret-lang/releases{/id}","created_at":"2012-11-15T02:28:16Z","updated_at":"2015-10-05T05:19:17Z","pushed_at":"2015-10-26T20:22:06Z","git_url":"git://github.com/brownplt/pyret-lang.git","ssh_url":"git@github.com:brownplt/pyret-lang.git","clone_url":"https://github.com/brownplt/pyret-lang.git","svn_url":"https://github.com/brownplt/pyret-lang","homepage":null,"size":336713,"stargazers_count":329,"watchers_count":329,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":224,"forks":48,"open_issues":224,"watchers":329,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brownplt/pyret-lang/pulls/594"},"html":{"href":"https://github.com/brownplt/pyret-lang/pull/594"},"issue":{"href":"https://api.github.com/repos/brownplt/pyret-lang/issues/594"},"comments":{"href":"https://api.github.com/repos/brownplt/pyret-lang/issues/594/comments"},"review_comments":{"href":"https://api.github.com/repos/brownplt/pyret-lang/pulls/594/comments"},"review_comment":{"href":"https://api.github.com/repos/brownplt/pyret-lang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brownplt/pyret-lang/pulls/594/commits"},"statuses":{"href":"https://api.github.com/repos/brownplt/pyret-lang/statuses/510b6f6dde9d5d86c4485169c0215353b92dcbd8"}}}}