{"action":"created","issue":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5285","repository_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium","labels_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5285/labels{/name}","comments_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5285/comments","events_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5285/events","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/5285","id":227065882,"number":5285,"title":"Support Animation widget construction outside of the DOM","user":{"login":"mramato","id":1495196,"avatar_url":"https://avatars1.githubusercontent.com/u/1495196?v=3","gravatar_id":"","url":"https://api.github.com/users/mramato","html_url":"https://github.com/mramato","followers_url":"https://api.github.com/users/mramato/followers","following_url":"https://api.github.com/users/mramato/following{/other_user}","gists_url":"https://api.github.com/users/mramato/gists{/gist_id}","starred_url":"https://api.github.com/users/mramato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mramato/subscriptions","organizations_url":"https://api.github.com/users/mramato/orgs","repos_url":"https://api.github.com/users/mramato/repos","events_url":"https://api.github.com/users/mramato/events{/privacy}","received_events_url":"https://api.github.com/users/mramato/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-08T14:33:36Z","updated_at":"2017-05-08T15:00:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/pulls/5285","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/5285","diff_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/5285.diff","patch_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/5285.patch"},"body":"Creating a new `Animation` instance would crash if provided container was not currently in the DOM. This is because we use computed styles for themeing and computed styles return undefined if the element isn't in the DOM.  Since we call `applyThemeChanges` during construction, this would lead to a crash.\r\n\r\nThe solution is check if the container is in the DOM, and if not, use `MutationObserver` to delay the style application until the element is added."},"comment":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/comments/299891604","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/pull/5285#issuecomment-299891604","issue_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/5285","id":299891604,"user":{"login":"hpinkos","id":3451886,"avatar_url":"https://avatars0.githubusercontent.com/u/3451886?v=3","gravatar_id":"","url":"https://api.github.com/users/hpinkos","html_url":"https://github.com/hpinkos","followers_url":"https://api.github.com/users/hpinkos/followers","following_url":"https://api.github.com/users/hpinkos/following{/other_user}","gists_url":"https://api.github.com/users/hpinkos/gists{/gist_id}","starred_url":"https://api.github.com/users/hpinkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpinkos/subscriptions","organizations_url":"https://api.github.com/users/hpinkos/orgs","repos_url":"https://api.github.com/users/hpinkos/repos","events_url":"https://api.github.com/users/hpinkos/events{/privacy}","received_events_url":"https://api.github.com/users/hpinkos/received_events","type":"User","site_admin":false},"created_at":"2017-05-08T15:00:07Z","updated_at":"2017-05-08T15:00:07Z","body":"This doesn't work in IE"}}
{"actor":{"display_login":"hpinkos"}}