{"action":"closed","number":121,"pull_request":{"url":"https://api.github.com/repos/SocketCluster/socketcluster/pulls/121","id":48660719,"html_url":"https://github.com/SocketCluster/socketcluster/pull/121","diff_url":"https://github.com/SocketCluster/socketcluster/pull/121.diff","patch_url":"https://github.com/SocketCluster/socketcluster/pull/121.patch","issue_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/121","number":121,"state":"closed","locked":false,"title":"(Feature): Allow an additional JS file to be passed to SC to have it …","user":{"login":"IngwiePhoenix","id":2893716,"avatar_url":"https://avatars.githubusercontent.com/u/2893716?v=3","gravatar_id":"","url":"https://api.github.com/users/IngwiePhoenix","html_url":"https://github.com/IngwiePhoenix","followers_url":"https://api.github.com/users/IngwiePhoenix/followers","following_url":"https://api.github.com/users/IngwiePhoenix/following{/other_user}","gists_url":"https://api.github.com/users/IngwiePhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/IngwiePhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngwiePhoenix/subscriptions","organizations_url":"https://api.github.com/users/IngwiePhoenix/orgs","repos_url":"https://api.github.com/users/IngwiePhoenix/repos","events_url":"https://api.github.com/users/IngwiePhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/IngwiePhoenix/received_events","type":"User","site_admin":false},"body":"…modify the global scope.\r\n\r\nThis is essentially useful for:\r\n- Using JavaScript dialects in workers.\r\n- Applying various patches to the global scope.\r\n- Short-circuiting the application if a cruicial error is found.\r\n- Sharing initializing code with Broker processes, reducing duplicated code.\r\n\r\nThe proper ioCluster and nData PRs are on their way.\r\n\r\nAlso, within the samples, the require statement was changed to require the next top-level folder. I saw this iseful for testing, but I'd forgotten to change it back once I was done. Feel free to leave it in if you'd like.","created_at":"2015-10-24T17:22:52Z","updated_at":"2015-10-30T19:05:41Z","closed_at":"2015-10-30T19:05:41Z","merged_at":"2015-10-30T19:05:41Z","merge_commit_sha":"6745635c37e6e3d96c64fad7a1dddeaaa45a6206","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SocketCluster/socketcluster/pulls/121/commits","review_comments_url":"https://api.github.com/repos/SocketCluster/socketcluster/pulls/121/comments","review_comment_url":"https://api.github.com/repos/SocketCluster/socketcluster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/121/comments","statuses_url":"https://api.github.com/repos/SocketCluster/socketcluster/statuses/7df2ed024fa967a5e6dcea7dbf9da0966cc14fea","head":{"label":"IngwiePhoenix:master","ref":"master","sha":"7df2ed024fa967a5e6dcea7dbf9da0966cc14fea","user":{"login":"IngwiePhoenix","id":2893716,"avatar_url":"https://avatars.githubusercontent.com/u/2893716?v=3","gravatar_id":"","url":"https://api.github.com/users/IngwiePhoenix","html_url":"https://github.com/IngwiePhoenix","followers_url":"https://api.github.com/users/IngwiePhoenix/followers","following_url":"https://api.github.com/users/IngwiePhoenix/following{/other_user}","gists_url":"https://api.github.com/users/IngwiePhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/IngwiePhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngwiePhoenix/subscriptions","organizations_url":"https://api.github.com/users/IngwiePhoenix/orgs","repos_url":"https://api.github.com/users/IngwiePhoenix/repos","events_url":"https://api.github.com/users/IngwiePhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/IngwiePhoenix/received_events","type":"User","site_admin":false},"repo":{"id":44258222,"name":"socketcluster","full_name":"IngwiePhoenix/socketcluster","owner":{"login":"IngwiePhoenix","id":2893716,"avatar_url":"https://avatars.githubusercontent.com/u/2893716?v=3","gravatar_id":"","url":"https://api.github.com/users/IngwiePhoenix","html_url":"https://github.com/IngwiePhoenix","followers_url":"https://api.github.com/users/IngwiePhoenix/followers","following_url":"https://api.github.com/users/IngwiePhoenix/following{/other_user}","gists_url":"https://api.github.com/users/IngwiePhoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/IngwiePhoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IngwiePhoenix/subscriptions","organizations_url":"https://api.github.com/users/IngwiePhoenix/orgs","repos_url":"https://api.github.com/users/IngwiePhoenix/repos","events_url":"https://api.github.com/users/IngwiePhoenix/events{/privacy}","received_events_url":"https://api.github.com/users/IngwiePhoenix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IngwiePhoenix/socketcluster","description":"Highly scalable realtime microframework","fork":true,"url":"https://api.github.com/repos/IngwiePhoenix/socketcluster","forks_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/forks","keys_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/teams","hooks_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/hooks","issue_events_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/issues/events{/number}","events_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/events","assignees_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/assignees{/user}","branches_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/branches{/branch}","tags_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/tags","blobs_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/git/refs{/sha}","trees_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/statuses/{sha}","languages_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/languages","stargazers_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/stargazers","contributors_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/contributors","subscribers_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/subscribers","subscription_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/subscription","commits_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/commits{/sha}","git_commits_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/git/commits{/sha}","comments_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/comments{/number}","issue_comment_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/issues/comments{/number}","contents_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/contents/{+path}","compare_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/merges","archive_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/downloads","issues_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/issues{/number}","pulls_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/pulls{/number}","milestones_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/milestones{/number}","notifications_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/labels{/name}","releases_url":"https://api.github.com/repos/IngwiePhoenix/socketcluster/releases{/id}","created_at":"2015-10-14T15:43:34Z","updated_at":"2015-10-14T15:43:35Z","pushed_at":"2015-10-24T17:19:48Z","git_url":"git://github.com/IngwiePhoenix/socketcluster.git","ssh_url":"git@github.com:IngwiePhoenix/socketcluster.git","clone_url":"https://github.com/IngwiePhoenix/socketcluster.git","svn_url":"https://github.com/IngwiePhoenix/socketcluster","homepage":"http://socketcluster.io/","size":2207,"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":"SocketCluster:master","ref":"master","sha":"c9f3aa4b2415732b467168d25f431546d40868ed","user":{"login":"SocketCluster","id":12481324,"avatar_url":"https://avatars.githubusercontent.com/u/12481324?v=3","gravatar_id":"","url":"https://api.github.com/users/SocketCluster","html_url":"https://github.com/SocketCluster","followers_url":"https://api.github.com/users/SocketCluster/followers","following_url":"https://api.github.com/users/SocketCluster/following{/other_user}","gists_url":"https://api.github.com/users/SocketCluster/gists{/gist_id}","starred_url":"https://api.github.com/users/SocketCluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SocketCluster/subscriptions","organizations_url":"https://api.github.com/users/SocketCluster/orgs","repos_url":"https://api.github.com/users/SocketCluster/repos","events_url":"https://api.github.com/users/SocketCluster/events{/privacy}","received_events_url":"https://api.github.com/users/SocketCluster/received_events","type":"Organization","site_admin":false},"repo":{"id":13034860,"name":"socketcluster","full_name":"SocketCluster/socketcluster","owner":{"login":"SocketCluster","id":12481324,"avatar_url":"https://avatars.githubusercontent.com/u/12481324?v=3","gravatar_id":"","url":"https://api.github.com/users/SocketCluster","html_url":"https://github.com/SocketCluster","followers_url":"https://api.github.com/users/SocketCluster/followers","following_url":"https://api.github.com/users/SocketCluster/following{/other_user}","gists_url":"https://api.github.com/users/SocketCluster/gists{/gist_id}","starred_url":"https://api.github.com/users/SocketCluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SocketCluster/subscriptions","organizations_url":"https://api.github.com/users/SocketCluster/orgs","repos_url":"https://api.github.com/users/SocketCluster/repos","events_url":"https://api.github.com/users/SocketCluster/events{/privacy}","received_events_url":"https://api.github.com/users/SocketCluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SocketCluster/socketcluster","description":"Highly scalable realtime microframework","fork":false,"url":"https://api.github.com/repos/SocketCluster/socketcluster","forks_url":"https://api.github.com/repos/SocketCluster/socketcluster/forks","keys_url":"https://api.github.com/repos/SocketCluster/socketcluster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SocketCluster/socketcluster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SocketCluster/socketcluster/teams","hooks_url":"https://api.github.com/repos/SocketCluster/socketcluster/hooks","issue_events_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/events{/number}","events_url":"https://api.github.com/repos/SocketCluster/socketcluster/events","assignees_url":"https://api.github.com/repos/SocketCluster/socketcluster/assignees{/user}","branches_url":"https://api.github.com/repos/SocketCluster/socketcluster/branches{/branch}","tags_url":"https://api.github.com/repos/SocketCluster/socketcluster/tags","blobs_url":"https://api.github.com/repos/SocketCluster/socketcluster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SocketCluster/socketcluster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SocketCluster/socketcluster/git/refs{/sha}","trees_url":"https://api.github.com/repos/SocketCluster/socketcluster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SocketCluster/socketcluster/statuses/{sha}","languages_url":"https://api.github.com/repos/SocketCluster/socketcluster/languages","stargazers_url":"https://api.github.com/repos/SocketCluster/socketcluster/stargazers","contributors_url":"https://api.github.com/repos/SocketCluster/socketcluster/contributors","subscribers_url":"https://api.github.com/repos/SocketCluster/socketcluster/subscribers","subscription_url":"https://api.github.com/repos/SocketCluster/socketcluster/subscription","commits_url":"https://api.github.com/repos/SocketCluster/socketcluster/commits{/sha}","git_commits_url":"https://api.github.com/repos/SocketCluster/socketcluster/git/commits{/sha}","comments_url":"https://api.github.com/repos/SocketCluster/socketcluster/comments{/number}","issue_comment_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues/comments{/number}","contents_url":"https://api.github.com/repos/SocketCluster/socketcluster/contents/{+path}","compare_url":"https://api.github.com/repos/SocketCluster/socketcluster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SocketCluster/socketcluster/merges","archive_url":"https://api.github.com/repos/SocketCluster/socketcluster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SocketCluster/socketcluster/downloads","issues_url":"https://api.github.com/repos/SocketCluster/socketcluster/issues{/number}","pulls_url":"https://api.github.com/repos/SocketCluster/socketcluster/pulls{/number}","milestones_url":"https://api.github.com/repos/SocketCluster/socketcluster/milestones{/number}","notifications_url":"https://api.github.com/repos/SocketCluster/socketcluster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SocketCluster/socketcluster/labels{/name}","releases_url":"https://api.github.com/repos/SocketCluster/socketcluster/releases{/id}","created_at":"2013-09-23T12:11:47Z","updated_at":"2015-10-30T06:34:29Z","pushed_at":"2015-10-30T19:05:41Z","git_url":"git://github.com/SocketCluster/socketcluster.git","ssh_url":"git@github.com:SocketCluster/socketcluster.git","clone_url":"https://github.com/SocketCluster/socketcluster.git","svn_url":"https://github.com/SocketCluster/socketcluster","homepage":"http://socketcluster.io/","size":2210,"stargazers_count":2143,"watchers_count":2143,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":73,"mirror_url":null,"open_issues_count":21,"forks":73,"open_issues":21,"watchers":2143,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SocketCluster/socketcluster/pulls/121"},"html":{"href":"https://github.com/SocketCluster/socketcluster/pull/121"},"issue":{"href":"https://api.github.com/repos/SocketCluster/socketcluster/issues/121"},"comments":{"href":"https://api.github.com/repos/SocketCluster/socketcluster/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/SocketCluster/socketcluster/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/SocketCluster/socketcluster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SocketCluster/socketcluster/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/SocketCluster/socketcluster/statuses/7df2ed024fa967a5e6dcea7dbf9da0966cc14fea"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jondubois","id":1187447,"avatar_url":"https://avatars.githubusercontent.com/u/1187447?v=3","gravatar_id":"","url":"https://api.github.com/users/jondubois","html_url":"https://github.com/jondubois","followers_url":"https://api.github.com/users/jondubois/followers","following_url":"https://api.github.com/users/jondubois/following{/other_user}","gists_url":"https://api.github.com/users/jondubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jondubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondubois/subscriptions","organizations_url":"https://api.github.com/users/jondubois/orgs","repos_url":"https://api.github.com/users/jondubois/repos","events_url":"https://api.github.com/users/jondubois/events{/privacy}","received_events_url":"https://api.github.com/users/jondubois/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":22,"deletions":4,"changed_files":4}}