{"action":"created","issue":{"url":"https://api.github.com/repos/incuna/Respond/issues/1","labels_url":"https://api.github.com/repos/incuna/Respond/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/incuna/Respond/issues/1/comments","events_url":"https://api.github.com/repos/incuna/Respond/issues/1/events","html_url":"https://github.com/incuna/Respond/pull/1","id":119217461,"number":1,"title":"Allow replacing stylesheet to preserve the cascade","user":{"login":"henrahmagix","id":1429026,"avatar_url":"https://avatars.githubusercontent.com/u/1429026?v=3","gravatar_id":"","url":"https://api.github.com/users/henrahmagix","html_url":"https://github.com/henrahmagix","followers_url":"https://api.github.com/users/henrahmagix/followers","following_url":"https://api.github.com/users/henrahmagix/following{/other_user}","gists_url":"https://api.github.com/users/henrahmagix/gists{/gist_id}","starred_url":"https://api.github.com/users/henrahmagix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrahmagix/subscriptions","organizations_url":"https://api.github.com/users/henrahmagix/orgs","repos_url":"https://api.github.com/users/henrahmagix/repos","events_url":"https://api.github.com/users/henrahmagix/events{/privacy}","received_events_url":"https://api.github.com/users/henrahmagix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-27T16:01:54Z","updated_at":"2015-11-27T16:03:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/incuna/Respond/pulls/1","html_url":"https://github.com/incuna/Respond/pull/1","diff_url":"https://github.com/incuna/Respond/pull/1.diff","patch_url":"https://github.com/incuna/Respond/pull/1.patch"},"body":">\nUsually this library will append media queries in separate <style> elements.\nHowever, doing this changes the cascade such that a media rule will be used over\na non-media rule. This is because the media rule is removed from its position\nand appended after everything else. It is a common case that a non-media rule\nwill override a media rule, so this inversion of the cascade makes it very\ndifficult to style for all browsers using this polyfill.\n>\nTurn on this option by setting `window.RESPOND_REPLACE_STYLES = true` before\nsourcing this script. It will remove every stylesheet it finds and move all CSS\ninto the `media=\"all\"` stylesheet that is appended, minus the inactive media\nquery rules and those of other media types, like print. The other types are\nappended in the usual manner.\n\n@incuna/js Please review, ta! The files to review are `README.md` and `src/respond.js`; the two `*.src.js` files are autocompiled from `src/respond.js`."},"comment":{"url":"https://api.github.com/repos/incuna/Respond/issues/comments/160166954","html_url":"https://github.com/incuna/Respond/pull/1#issuecomment-160166954","issue_url":"https://api.github.com/repos/incuna/Respond/issues/1","id":160166954,"user":{"login":"wytrych","id":10600101,"avatar_url":"https://avatars.githubusercontent.com/u/10600101?v=3","gravatar_id":"","url":"https://api.github.com/users/wytrych","html_url":"https://github.com/wytrych","followers_url":"https://api.github.com/users/wytrych/followers","following_url":"https://api.github.com/users/wytrych/following{/other_user}","gists_url":"https://api.github.com/users/wytrych/gists{/gist_id}","starred_url":"https://api.github.com/users/wytrych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wytrych/subscriptions","organizations_url":"https://api.github.com/users/wytrych/orgs","repos_url":"https://api.github.com/users/wytrych/repos","events_url":"https://api.github.com/users/wytrych/events{/privacy}","received_events_url":"https://api.github.com/users/wytrych/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T16:03:38Z","updated_at":"2015-11-27T16:03:38Z","body":"So what is this, a fork you want to push back?"}}