guybedford / require-css

A RequireJS CSS loader plugin to allow CSS requires and optimization
MIT License
983 stars 364 forks source link

IE9: ieCurCallback null, Object expected #211

Open mehdiym opened 8 years ago

mehdiym commented 8 years ago

Hello, My web app won't work with IE9 and when I try with IE Edge in IE9 compatibility mode, I get the following error: SCRIPT5007: Object expected. css.js (87,5)

If I debug that file I can see processIeLoad() is called twice and the second time ieCurCallback is null.

What seems odd is that the array ieLoads is never fed as importLoad() is only called once and when ieCurCallback is still null.

Thank you for any help.

alundiak commented 7 years ago

@mehdiym IE9 u know what it does :) Anyway, I'm going to have a look to this issue, but I will need some time. Please keep thread posted, if u have some new related use cases.