{"action":"created","issue":{"url":"https://api.github.com/repos/zackify/simple-react-modal/issues/2","labels_url":"https://api.github.com/repos/zackify/simple-react-modal/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zackify/simple-react-modal/issues/2/comments","events_url":"https://api.github.com/repos/zackify/simple-react-modal/issues/2/events","html_url":"https://github.com/zackify/simple-react-modal/issues/2","id":98320865,"number":2,"title":"ES5 and require","user":{"login":"cdownard","id":1065433,"avatar_url":"https://avatars.githubusercontent.com/u/1065433?v=3","gravatar_id":"","url":"https://api.github.com/users/cdownard","html_url":"https://github.com/cdownard","followers_url":"https://api.github.com/users/cdownard/followers","following_url":"https://api.github.com/users/cdownard/following{/other_user}","gists_url":"https://api.github.com/users/cdownard/gists{/gist_id}","starred_url":"https://api.github.com/users/cdownard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdownard/subscriptions","organizations_url":"https://api.github.com/users/cdownard/orgs","repos_url":"https://api.github.com/users/cdownard/repos","events_url":"https://api.github.com/users/cdownard/events{/privacy}","received_events_url":"https://api.github.com/users/cdownard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T05:47:00Z","updated_at":"2015-07-31T05:50:18Z","closed_at":null,"body":"We're using require in our project. I'm not sure how to require the CSS class for this.\r\n\r\n`var Modal = require('simple-react-modal');` works great but browserify blows up if i try to require the css as described. Obviously I'm doing it incorrectly. Is this a situation where just bringing the css file in directl is a better idea?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/zackify/simple-react-modal/issues/comments/126573488","html_url":"https://github.com/zackify/simple-react-modal/issues/2#issuecomment-126573488","issue_url":"https://api.github.com/repos/zackify/simple-react-modal/issues/2","id":126573488,"user":{"login":"zackify","id":449136,"avatar_url":"https://avatars.githubusercontent.com/u/449136?v=3","gravatar_id":"","url":"https://api.github.com/users/zackify","html_url":"https://github.com/zackify","followers_url":"https://api.github.com/users/zackify/followers","following_url":"https://api.github.com/users/zackify/following{/other_user}","gists_url":"https://api.github.com/users/zackify/gists{/gist_id}","starred_url":"https://api.github.com/users/zackify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zackify/subscriptions","organizations_url":"https://api.github.com/users/zackify/orgs","repos_url":"https://api.github.com/users/zackify/repos","events_url":"https://api.github.com/users/zackify/events{/privacy}","received_events_url":"https://api.github.com/users/zackify/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T05:50:18Z","updated_at":"2015-07-31T05:50:18Z","body":"Thanks for making this issue. Right after making this I received a lot of great feedback and fixed a lot of things. The two things left are including styles by default, unless if you put in a custom class name. Should have that done asap (before tomorrow night). Then it will just work with default styles unless you place a classname on it."}}