{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/259","labels_url":"https://api.github.com/repos/facebook/flow/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/259/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/259/events","html_url":"https://github.com/facebook/flow/pull/259","id":57625985,"number":259,"title":"Add declaration for Document.execCommand()","user":{"login":"eemeli","id":617000,"avatar_url":"https://avatars.githubusercontent.com/u/617000?v=3","gravatar_id":"","url":"https://api.github.com/users/eemeli","html_url":"https://github.com/eemeli","followers_url":"https://api.github.com/users/eemeli/followers","following_url":"https://api.github.com/users/eemeli/following{/other_user}","gists_url":"https://api.github.com/users/eemeli/gists{/gist_id}","starred_url":"https://api.github.com/users/eemeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eemeli/subscriptions","organizations_url":"https://api.github.com/users/eemeli/orgs","repos_url":"https://api.github.com/users/eemeli/repos","events_url":"https://api.github.com/users/eemeli/events{/privacy}","received_events_url":"https://api.github.com/users/eemeli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-13T17:11:52Z","updated_at":"2015-02-14T21:42:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/flow/pulls/259","html_url":"https://github.com/facebook/flow/pull/259","diff_url":"https://github.com/facebook/flow/pull/259.diff","patch_url":"https://github.com/facebook/flow/pull/259.patch"},"body":"Adds a declaration for the document's [`execCommand()`](https://developer.mozilla.org/en-US/docs/Web/API/document.execCommand), copied from the already-implemented IE-only textRange's `execCommand()`."},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/74393180","html_url":"https://github.com/facebook/flow/pull/259#issuecomment-74393180","issue_url":"https://api.github.com/repos/facebook/flow/issues/259","id":74393180,"user":{"login":"gabelevi","id":1887264,"avatar_url":"https://avatars.githubusercontent.com/u/1887264?v=3","gravatar_id":"","url":"https://api.github.com/users/gabelevi","html_url":"https://github.com/gabelevi","followers_url":"https://api.github.com/users/gabelevi/followers","following_url":"https://api.github.com/users/gabelevi/following{/other_user}","gists_url":"https://api.github.com/users/gabelevi/gists{/gist_id}","starred_url":"https://api.github.com/users/gabelevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabelevi/subscriptions","organizations_url":"https://api.github.com/users/gabelevi/orgs","repos_url":"https://api.github.com/users/gabelevi/repos","events_url":"https://api.github.com/users/gabelevi/events{/privacy}","received_events_url":"https://api.github.com/users/gabelevi/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T21:42:39Z","updated_at":"2015-02-14T21:42:39Z","body":"I haven't upgrade to Yosemite yet out of laziness, but @jeffmo has and hasn't had any trouble. I also haven't heard any other reports of this yet...weird!\r\n\r\nI googled a little bit for this, and all the occurrences I saw had to do with people writing C programs that call into OCaml and forget to startup OCaml first with some function call. Flow is an OCaml program that calls into C, so those answers don't seem to apply.\r\n\r\nI wonder if maybe brew's pre-compiled version of ocaml has trouble on Yosemite? I have had problems with [homebrew and opam before](https://github.com/ocaml/opam/issues/1853), when the pre-built homebrew version was not compatible with the machine I was using. So maybe something like\r\n\r\n```Bash\r\nbrew reinstall --build-from-source objective-caml\r\n```\r\n\r\nmight solve your problem? Another way to install ocaml on a mac is using opam, like\r\n\r\n```Bash\r\nbrew install opam\r\nopam init --comp 4.02.1\r\n```\r\n\r\nAnyway, if all this is too much of a pain for you, I'm happy to fork your PR and fix the tests for you."}}