yuanyan / halogen

A collection of loading spinners with React.js
https://yuanyan.github.io/halogen
MIT License
1.6k stars 151 forks source link

insertRule() syntax error in IE11 #14

Open tajo opened 9 years ago

tajo commented 9 years ago

Hey,

I'm getting this error in MSIE 11 / Win 8.1:

screen shot 2015-06-17 at 5 23 15 pm

I'm not sure why, because it looks Ok.

tajo commented 9 years ago

I see it's a part of react-kit. On your demo website there are no errors. Weird.

dallonf commented 9 years ago

I'm also seeing this problem in PhantomJS.

rolandsusans commented 9 years ago

The same when testing :

on IE Edge  -> works 
on IE 10    -> works 
on IE 9     -> syntax Error

btw, also demo page shows errors when using IE 9.

Maybe there is way to make fallback for browsers, that does't have support?

badmotorfinger commented 7 years ago

It's because the CSS parameter being passed into insertRule is invalid or not recognised by the browser.