{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/14249","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/14249/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/14249/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/14249/events","html_url":"https://github.com/mrdoob/three.js/pull/14249","id":330779464,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNzA1NTgw","number":14249,"title":"Don't use 'window' if it isn't available","user":{"login":"haroldiedema","id":567518,"node_id":"MDQ6VXNlcjU2NzUxOA==","avatar_url":"https://avatars3.githubusercontent.com/u/567518?v=4","gravatar_id":"","url":"https://api.github.com/users/haroldiedema","html_url":"https://github.com/haroldiedema","followers_url":"https://api.github.com/users/haroldiedema/followers","following_url":"https://api.github.com/users/haroldiedema/following{/other_user}","gists_url":"https://api.github.com/users/haroldiedema/gists{/gist_id}","starred_url":"https://api.github.com/users/haroldiedema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haroldiedema/subscriptions","organizations_url":"https://api.github.com/users/haroldiedema/orgs","repos_url":"https://api.github.com/users/haroldiedema/repos","events_url":"https://api.github.com/users/haroldiedema/events{/privacy}","received_events_url":"https://api.github.com/users/haroldiedema/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mrdoob/three.js/milestones/7","html_url":"https://github.com/mrdoob/three.js/milestone/7","labels_url":"https://api.github.com/repos/mrdoob/three.js/milestones/7/labels","id":3279335,"node_id":"MDk6TWlsZXN0b25lMzI3OTMzNQ==","number":7,"title":"r94","description":"","creator":{"login":"mrdoob","id":97088,"node_id":"MDQ6VXNlcjk3MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/97088?v=4","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":31,"state":"open","created_at":"2018-04-18T22:01:36Z","updated_at":"2018-06-13T21:52:17Z","due_on":"2018-06-20T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-06-08T19:38:37Z","updated_at":"2018-06-13T21:52:23Z","closed_at":"2018-06-13T21:52:17Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mrdoob/three.js/pulls/14249","html_url":"https://github.com/mrdoob/three.js/pull/14249","diff_url":"https://github.com/mrdoob/three.js/pull/14249.diff","patch_url":"https://github.com/mrdoob/three.js/pull/14249.patch"},"body":"You can no longer instantiate the `WebGLRenderer` in a worker context since r93 because of the `WebGLAnimation` things that have been added to the `WebGLRenderer` constructor code.\r\n\r\nIt blatantly assumes there is a `window` object available, which results in an immediate reference error as soon as you instantiate the renderer.\r\n\r\nThis PR fixes that, although it _will_ result in errors when trying to use the `onAnimationFrame` functionality since it also assumes `requestAnimationFrame` is available in a worker context.\r\n\r\nThen again, using `requestAnimationFrame` from a worker context doesn't make much sense anyway. 😄 \r\n"},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/397099650","html_url":"https://github.com/mrdoob/three.js/pull/14249#issuecomment-397099650","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/14249","id":397099650,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzA5OTY1MA==","user":{"login":"mrdoob","id":97088,"node_id":"MDQ6VXNlcjk3MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/97088?v=4","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T21:52:23Z","updated_at":"2018-06-13T21:52:23Z","author_association":"OWNER","body":"Thanks!"}}
{"actor":{"display_login":"mrdoob"}}