{"action":"created","issue":{"url":"https://api.github.com/repos/visionmedia/debug/issues/368","repository_url":"https://api.github.com/repos/visionmedia/debug","labels_url":"https://api.github.com/repos/visionmedia/debug/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/visionmedia/debug/issues/368/comments","events_url":"https://api.github.com/repos/visionmedia/debug/issues/368/events","html_url":"https://github.com/visionmedia/debug/pull/368","id":195648515,"number":368,"title":"Work around debug being loaded in preload scripts","user":{"login":"paulcbetts","id":1396,"avatar_url":"https://avatars.githubusercontent.com/u/1396?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcbetts","html_url":"https://github.com/paulcbetts","followers_url":"https://api.github.com/users/paulcbetts/followers","following_url":"https://api.github.com/users/paulcbetts/following{/other_user}","gists_url":"https://api.github.com/users/paulcbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcbetts/subscriptions","organizations_url":"https://api.github.com/users/paulcbetts/orgs","repos_url":"https://api.github.com/users/paulcbetts/repos","events_url":"https://api.github.com/users/paulcbetts/events{/privacy}","received_events_url":"https://api.github.com/users/paulcbetts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-14T21:19:08Z","updated_at":"2016-12-15T01:27:17Z","closed_at":"2016-12-14T23:58:20Z","pull_request":{"url":"https://api.github.com/repos/visionmedia/debug/pulls/368","html_url":"https://github.com/visionmedia/debug/pull/368","diff_url":"https://github.com/visionmedia/debug/pull/368.diff","patch_url":"https://github.com/visionmedia/debug/pull/368.patch"},"body":"This is a follow-on to #324, where if debug is loaded in a preload script (https://github.com/electron/electron/blob/d6e3360aeff6c50820a08af28f1097a0c25d6e3e/docs/api/web-view-tag.md#preload), it will crash in `useColors` because the DOM is not fully set-up yet (`window.document.documentElement` will be undefined, but `window.document` exists)"},"comment":{"url":"https://api.github.com/repos/visionmedia/debug/issues/comments/267209940","html_url":"https://github.com/visionmedia/debug/pull/368#issuecomment-267209940","issue_url":"https://api.github.com/repos/visionmedia/debug/issues/368","id":267209940,"user":{"login":"thebigredgeek","id":2799276,"avatar_url":"https://avatars.githubusercontent.com/u/2799276?v=3","gravatar_id":"","url":"https://api.github.com/users/thebigredgeek","html_url":"https://github.com/thebigredgeek","followers_url":"https://api.github.com/users/thebigredgeek/followers","following_url":"https://api.github.com/users/thebigredgeek/following{/other_user}","gists_url":"https://api.github.com/users/thebigredgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/thebigredgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebigredgeek/subscriptions","organizations_url":"https://api.github.com/users/thebigredgeek/orgs","repos_url":"https://api.github.com/users/thebigredgeek/repos","events_url":"https://api.github.com/users/thebigredgeek/events{/privacy}","received_events_url":"https://api.github.com/users/thebigredgeek/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T01:27:17Z","updated_at":"2016-12-15T01:27:17Z","body":"@paulcbetts done :).  2.4.4 now live"}}
{"actor":{"display_login":"thebigredgeek"}}