{"action":"closed","issue":{"url":"https://api.github.com/repos/stackgl/glslify/issues/15","labels_url":"https://api.github.com/repos/stackgl/glslify/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/stackgl/glslify/issues/15/comments","events_url":"https://api.github.com/repos/stackgl/glslify/issues/15/events","html_url":"https://github.com/stackgl/glslify/issues/15","id":35215795,"number":15,"title":"empty shader crashes","user":{"login":"mattdesl","id":1383811,"avatar_url":"https://avatars.githubusercontent.com/u/1383811?v=3","gravatar_id":"","url":"https://api.github.com/users/mattdesl","html_url":"https://github.com/mattdesl","followers_url":"https://api.github.com/users/mattdesl/followers","following_url":"https://api.github.com/users/mattdesl/following{/other_user}","gists_url":"https://api.github.com/users/mattdesl/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdesl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdesl/subscriptions","organizations_url":"https://api.github.com/users/mattdesl/orgs","repos_url":"https://api.github.com/users/mattdesl/repos","events_url":"https://api.github.com/users/mattdesl/events{/privacy}","received_events_url":"https://api.github.com/users/mattdesl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-06-07T19:13:48Z","updated_at":"2015-03-11T22:58:42Z","closed_at":"2015-03-11T22:58:42Z","body":"The following crashes when parsing:\r\n\r\n```js\r\nvar createShader = glslify({\r\n    inline: true,\r\n    vertex: \"void main() {}\",\r\n    fragment: \"void main() {}\",\r\n});\r\n```\r\n\r\n```\r\n// Unhandled stream error in pipe.\r\n            ^\r\nError: expected `{`, got {}\r\n{} at line 5\r\n```\r\n\r\nBut putting a space inside the curly braces will fix it."}}