{"action":"created","issue":{"url":"https://api.github.com/repos/pzavolinsky/react-unit/issues/5","repository_url":"https://api.github.com/repos/pzavolinsky/react-unit","labels_url":"https://api.github.com/repos/pzavolinsky/react-unit/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/pzavolinsky/react-unit/issues/5/comments","events_url":"https://api.github.com/repos/pzavolinsky/react-unit/issues/5/events","html_url":"https://github.com/pzavolinsky/react-unit/issues/5","id":108604166,"number":5,"title":"Drop global document with React 0.14","user":{"login":"kamilio","id":1078185,"avatar_url":"https://avatars.githubusercontent.com/u/1078185?v=3","gravatar_id":"","url":"https://api.github.com/users/kamilio","html_url":"https://github.com/kamilio","followers_url":"https://api.github.com/users/kamilio/followers","following_url":"https://api.github.com/users/kamilio/following{/other_user}","gists_url":"https://api.github.com/users/kamilio/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilio/subscriptions","organizations_url":"https://api.github.com/users/kamilio/orgs","repos_url":"https://api.github.com/users/kamilio/repos","events_url":"https://api.github.com/users/kamilio/events{/privacy}","received_events_url":"https://api.github.com/users/kamilio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-28T07:45:35Z","updated_at":"2016-02-29T03:02:02Z","closed_at":null,"body":"Once the React 0.14 is released, we can completely remove the global `document` and don't pollute global scope at all.\r\n\r\nFrom https://github.com/facebook/fbjs/pull/59\r\n\r\n> We'll push out a new fbjs version from here soon and then update the React dependency. 0.14 should be going out soon and I'll make sure it includes this.\r\n\r\nIssue just as a reminder."},"comment":{"url":"https://api.github.com/repos/pzavolinsky/react-unit/issues/comments/190014390","html_url":"https://github.com/pzavolinsky/react-unit/issues/5#issuecomment-190014390","issue_url":"https://api.github.com/repos/pzavolinsky/react-unit/issues/5","id":190014390,"user":{"login":"boblauer","id":824632,"avatar_url":"https://avatars.githubusercontent.com/u/824632?v=3","gravatar_id":"","url":"https://api.github.com/users/boblauer","html_url":"https://github.com/boblauer","followers_url":"https://api.github.com/users/boblauer/followers","following_url":"https://api.github.com/users/boblauer/following{/other_user}","gists_url":"https://api.github.com/users/boblauer/gists{/gist_id}","starred_url":"https://api.github.com/users/boblauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boblauer/subscriptions","organizations_url":"https://api.github.com/users/boblauer/orgs","repos_url":"https://api.github.com/users/boblauer/repos","events_url":"https://api.github.com/users/boblauer/events{/privacy}","received_events_url":"https://api.github.com/users/boblauer/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T03:02:01Z","updated_at":"2016-02-29T03:02:01Z","body":"Is there any update on this?  I'm seeing an issue where a 3rd party lib is checking for `global.document` and if it's present, tries to execute some client-side-only code.  Because react-unit defines `global.document`, that code executes and an error is thrown.  "}}