{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fbjs/issues/133","repository_url":"https://api.github.com/repos/facebook/fbjs","labels_url":"https://api.github.com/repos/facebook/fbjs/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fbjs/issues/133/comments","events_url":"https://api.github.com/repos/facebook/fbjs/issues/133/events","html_url":"https://github.com/facebook/fbjs/issues/133","id":146366967,"number":133,"title":"0.8.0 break some project","user":{"login":"Freddy03h","id":1412159,"avatar_url":"https://avatars.githubusercontent.com/u/1412159?v=3","gravatar_id":"","url":"https://api.github.com/users/Freddy03h","html_url":"https://github.com/Freddy03h","followers_url":"https://api.github.com/users/Freddy03h/followers","following_url":"https://api.github.com/users/Freddy03h/following{/other_user}","gists_url":"https://api.github.com/users/Freddy03h/gists{/gist_id}","starred_url":"https://api.github.com/users/Freddy03h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Freddy03h/subscriptions","organizations_url":"https://api.github.com/users/Freddy03h/orgs","repos_url":"https://api.github.com/users/Freddy03h/repos","events_url":"https://api.github.com/users/Freddy03h/events{/privacy}","received_events_url":"https://api.github.com/users/Freddy03h/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-06T16:33:24Z","updated_at":"2016-04-06T20:50:54Z","closed_at":"2016-04-06T20:50:01Z","body":"## Issue\r\nHello, I created a project using a starter kit https://github.com/davezuko/react-redux-starter-kit, and by default, after an `npm install` it use fbjs@0.6.0.\r\nLater, I installed draft-js and it use fbjs@0.8.0-alpha2, and since, I can't run test on my project anymore (karma, phantomjs, chai, etc).\r\n\r\nI've got the following error :\r\n```\r\nSTART:\r\n06 04 2016 17:53:21.039:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/\r\n06 04 2016 17:53:21.071:INFO [launcher]: Starting browser PhantomJS\r\n06 04 2016 17:53:22.960:INFO [PhantomJS 2.1.1 (Mac OS X 0.0.0)]: Connected on socket /#gba2WCoQqyELMJKhAAAA with id 86581400\r\nPhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR\r\n  TypeError: undefined is not a constructor (evaluating 'query.startsWith(name)')\r\n  at /Users/freddy/Desktop/react-redux-starter-kit/tests/test-bundler.js:91609 <- webpack:///~/draft-js/~/fbjs/lib/UserAgent.js:35:0\r\n\r\nFinished in 0.654 secs / 0 secs\r\n\r\nSUMMARY:\r\n✔ 0 tests completed\r\n```\r\n## More information\r\nI also opened an issue on the starter-kit project : https://github.com/davezuko/react-redux-starter-kit/issues/697\r\nand **How to Reproduce**\r\n\r\n## related ?\r\nI don't know if it's an issue related to this project, or directly related to the starter-kit or maybe phantomjs. So, sorry if it's not related to this project."},"comment":{"url":"https://api.github.com/repos/facebook/fbjs/issues/comments/206561465","html_url":"https://github.com/facebook/fbjs/issues/133#issuecomment-206561465","issue_url":"https://api.github.com/repos/facebook/fbjs/issues/133","id":206561465,"user":{"login":"zpao","id":8445,"avatar_url":"https://avatars.githubusercontent.com/u/8445?v=3","gravatar_id":"","url":"https://api.github.com/users/zpao","html_url":"https://github.com/zpao","followers_url":"https://api.github.com/users/zpao/followers","following_url":"https://api.github.com/users/zpao/following{/other_user}","gists_url":"https://api.github.com/users/zpao/gists{/gist_id}","starred_url":"https://api.github.com/users/zpao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpao/subscriptions","organizations_url":"https://api.github.com/users/zpao/orgs","repos_url":"https://api.github.com/users/zpao/repos","events_url":"https://api.github.com/users/zpao/events{/privacy}","received_events_url":"https://api.github.com/users/zpao/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T20:50:54Z","updated_at":"2016-04-06T20:50:54Z","body":"PS, thanks for the awesomely detailed report including a repro and (what you could get of a) stack trace."}}