{"action":"created","issue":{"url":"https://api.github.com/repos/FormidableLabs/radium/issues/313","labels_url":"https://api.github.com/repos/FormidableLabs/radium/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/radium/issues/313/comments","events_url":"https://api.github.com/repos/FormidableLabs/radium/issues/313/events","html_url":"https://github.com/FormidableLabs/radium/issues/313","id":100652797,"number":313,"title":"Static class methods disappear in IE10 when using Radium","user":{"login":"Zenwolf","id":354809,"avatar_url":"https://avatars.githubusercontent.com/u/354809?v=3","gravatar_id":"","url":"https://api.github.com/users/Zenwolf","html_url":"https://github.com/Zenwolf","followers_url":"https://api.github.com/users/Zenwolf/followers","following_url":"https://api.github.com/users/Zenwolf/following{/other_user}","gists_url":"https://api.github.com/users/Zenwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/Zenwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zenwolf/subscriptions","organizations_url":"https://api.github.com/users/Zenwolf/orgs","repos_url":"https://api.github.com/users/Zenwolf/repos","events_url":"https://api.github.com/users/Zenwolf/events{/privacy}","received_events_url":"https://api.github.com/users/Zenwolf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FormidableLabs/radium/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-12T22:55:47Z","updated_at":"2015-08-13T13:26:28Z","closed_at":null,"body":"Static class methods are gone after wrapping the component class in `Radium(Foo)` in IE10 (using Babel to convert ES6):\r\n\r\n*Simple example:*\r\n```javascript\r\nimport Radium from 'radium';\r\nimport React from 'react/addons';\r\n\r\nconst TYPE_FOO = 'foo';\r\n\r\nclass Foo extends React.Component {\r\n    static getTypeFoo() {\r\n        return TYPE_FOO;\r\n    }\r\n\r\n    render() {\r\n        return <div>Foo</div>\r\n    }\r\n}\r\n\r\nexport default Radium(Foo);\r\n```\r\n\r\n*Result in IE10:*\r\n```javascript\r\nFoo.getTypeFoo() // IE10 throws: Object doesn't support property or method 'getTypeFoo'\r\n```\r\n\r\nThe above works fine in Chrome. It also works in IE10 when removing `Radium()` decorator."},"comment":{"url":"https://api.github.com/repos/FormidableLabs/radium/issues/comments/130670061","html_url":"https://github.com/FormidableLabs/radium/issues/313#issuecomment-130670061","issue_url":"https://api.github.com/repos/FormidableLabs/radium/issues/313","id":130670061,"user":{"login":"bobbyrenwick","id":1313013,"avatar_url":"https://avatars.githubusercontent.com/u/1313013?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbyrenwick","html_url":"https://github.com/bobbyrenwick","followers_url":"https://api.github.com/users/bobbyrenwick/followers","following_url":"https://api.github.com/users/bobbyrenwick/following{/other_user}","gists_url":"https://api.github.com/users/bobbyrenwick/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbyrenwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbyrenwick/subscriptions","organizations_url":"https://api.github.com/users/bobbyrenwick/orgs","repos_url":"https://api.github.com/users/bobbyrenwick/repos","events_url":"https://api.github.com/users/bobbyrenwick/events{/privacy}","received_events_url":"https://api.github.com/users/bobbyrenwick/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T13:26:28Z","updated_at":"2015-08-13T13:26:28Z","body":"@ianobermiller that sounds sensible, I had thought about that when I was working on the print styles stuff because they're static and forgot about it before we released."}}