scottjehl / Respond

A fast & lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more)
MIT License
11.33k stars 3.36k forks source link

Respond throws Error when CSS file is empty #365

Open dlokman opened 7 years ago

dlokman commented 7 years ago

Dumb error. I setup my project and referenced a bunch of css files. One of them was empty and Respond.js was throwing an error because of that(it expected some css in the css file). As soon as i put a test css class in that css file, it started working. I guess one person can't make a Js file perfect and this is probably a rare issue but please can you still fix it. Thanks Dan