Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error when css file is empty #53

Open
thany opened this Issue Mar 25, 2013 · 0 comments

Comments

Projects
None yet
1 participant

thany commented Mar 25, 2013

When including a css file that happens to be empty, the following error will occur:

SCRIPT5007: Unable to get property 'replace' of undefined or null reference
selectivizr.js, line 428 character 4

I suspect this happens because on line 391, xhr.responseText will be undefined, instead of an empty string.

Tested on IE10-as-IE8 on Windows 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment