{"action":"created","issue":{"url":"https://api.github.com/repos/sstur/draft-js-import-html/issues/16","repository_url":"https://api.github.com/repos/sstur/draft-js-import-html","labels_url":"https://api.github.com/repos/sstur/draft-js-import-html/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/sstur/draft-js-import-html/issues/16/comments","events_url":"https://api.github.com/repos/sstur/draft-js-import-html/issues/16/events","html_url":"https://github.com/sstur/draft-js-import-html/pull/16","id":206358162,"number":16,"title":"require DOMParser so it doesn't throw an error","user":{"login":"meteorplus","id":12363020,"avatar_url":"https://avatars3.githubusercontent.com/u/12363020?v=4","gravatar_id":"","url":"https://api.github.com/users/meteorplus","html_url":"https://github.com/meteorplus","followers_url":"https://api.github.com/users/meteorplus/followers","following_url":"https://api.github.com/users/meteorplus/following{/other_user}","gists_url":"https://api.github.com/users/meteorplus/gists{/gist_id}","starred_url":"https://api.github.com/users/meteorplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteorplus/subscriptions","organizations_url":"https://api.github.com/users/meteorplus/orgs","repos_url":"https://api.github.com/users/meteorplus/repos","events_url":"https://api.github.com/users/meteorplus/events{/privacy}","received_events_url":"https://api.github.com/users/meteorplus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-08T23:28:32Z","updated_at":"2017-09-05T06:11:57Z","closed_at":"2017-09-04T07:34:48Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/sstur/draft-js-import-html/pulls/16","html_url":"https://github.com/sstur/draft-js-import-html/pull/16","diff_url":"https://github.com/sstur/draft-js-import-html/pull/16.diff","patch_url":"https://github.com/sstur/draft-js-import-html/pull/16.patch"},"body":"Require DOMParser so it doesn't throw a server error for SSR or if used only the server!"},"comment":{"url":"https://api.github.com/repos/sstur/draft-js-import-html/issues/comments/327080568","html_url":"https://github.com/sstur/draft-js-import-html/pull/16#issuecomment-327080568","issue_url":"https://api.github.com/repos/sstur/draft-js-import-html/issues/16","id":327080568,"user":{"login":"sstur","id":369384,"avatar_url":"https://avatars1.githubusercontent.com/u/369384?v=4","gravatar_id":"","url":"https://api.github.com/users/sstur","html_url":"https://github.com/sstur","followers_url":"https://api.github.com/users/sstur/followers","following_url":"https://api.github.com/users/sstur/following{/other_user}","gists_url":"https://api.github.com/users/sstur/gists{/gist_id}","starred_url":"https://api.github.com/users/sstur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstur/subscriptions","organizations_url":"https://api.github.com/users/sstur/orgs","repos_url":"https://api.github.com/users/sstur/repos","events_url":"https://api.github.com/users/sstur/events{/privacy}","received_events_url":"https://api.github.com/users/sstur/received_events","type":"User","site_admin":false},"created_at":"2017-09-05T06:11:57Z","updated_at":"2017-09-05T06:11:57Z","author_association":"OWNER","body":"Sorry, I should have explained it. This will not work on browser-side because it uses `require('dom-parser');` which is a module that is not listed in package.json. The correct fix for this issue is using some feature detection and loading the module only for SSR which I'm hesitant to do if it makes our package larger for web deployments.\r\n\r\nI've opened a new issue over at https://github.com/sstur/draft-js-utils/issues/92 which is the new home for this repo.\r\n\r\nHope that is clearer."}}
{"actor":{"display_login":"sstur"}}