{"action":"closed","issue":{"url":"https://api.github.com/repos/cssinjs/jss/issues/351","repository_url":"https://api.github.com/repos/cssinjs/jss","labels_url":"https://api.github.com/repos/cssinjs/jss/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/cssinjs/jss/issues/351/comments","events_url":"https://api.github.com/repos/cssinjs/jss/issues/351/events","html_url":"https://github.com/cssinjs/jss/issues/351","id":187890224,"number":351,"title":"media queries without a space before the bracket do not work","user":{"login":"AlastairTaft","id":3320742,"avatar_url":"https://avatars.githubusercontent.com/u/3320742?v=3","gravatar_id":"","url":"https://api.github.com/users/AlastairTaft","html_url":"https://github.com/AlastairTaft","followers_url":"https://api.github.com/users/AlastairTaft/followers","following_url":"https://api.github.com/users/AlastairTaft/following{/other_user}","gists_url":"https://api.github.com/users/AlastairTaft/gists{/gist_id}","starred_url":"https://api.github.com/users/AlastairTaft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlastairTaft/subscriptions","organizations_url":"https://api.github.com/users/AlastairTaft/orgs","repos_url":"https://api.github.com/users/AlastairTaft/repos","events_url":"https://api.github.com/users/AlastairTaft/events{/privacy}","received_events_url":"https://api.github.com/users/AlastairTaft/received_events","type":"User","site_admin":false},"labels":[{"id":137200701,"url":"https://api.github.com/repos/cssinjs/jss/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-08T03:05:53Z","updated_at":"2016-11-14T20:29:04Z","closed_at":"2016-11-14T20:29:04Z","body":"If I have the following code\r\n\r\n```es6\r\nimport { create } from 'jss'\r\nimport preset from 'jss-preset-default'\r\n\r\nconst jss = create()\r\njss.setup(preset())\r\n\r\nconst sheet = jss.createStyleSheet({\r\n  '@media(max-width: 715px)':{\r\n    '.PageProgression-container': {\r\n      display: 'none',\r\n    },\r\n  },\r\n}, { named: false} ).attach()\r\n```\r\n\r\nI get the following style sheet output on the page\r\n```css\r\n@media(max-width: 715px) {\r\n  .-page-progression-container: [object Object];\r\n}\r\n```\r\n\r\nwhich isn't correct. If I then add whitespace to the media query (after 'media' before the bracket).\r\n```es6\r\nconst sheet = jss.createStyleSheet({\r\n  '@media (max-width: 715px)':{\r\n    '.PageProgression-container': {\r\n      display: 'none',\r\n    },\r\n  },\r\n}, { named: false} ).attach()\r\n```\r\nI get the correct output.\r\n```css\r\n@media (max-width: 715px) {\r\n  .PageProgression-container {\r\n    display: none;\r\n  }\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"kof"}}