Closed m-mujica closed 7 years ago
hmm got some tests failures in Firefox and Safari, too. It seems my fixed timeout wasn't doing the trick...
I just pushed a polling based approach to wait for the css or timeout kinda like Funcunit. Hopefully this makes it so modern browsers run tests fast and we get the failure only in IE9
💥 that's what I'm talking about
...time to add the hack
@matthewp I need to keep some state (ugh! I know) in steal-css, keep the count of stylesheets, the last one created and stuff.
I'm having trouble to get it to work, the module is eval-ed everytime a css file is loaded, adding stuff to the global object does not work (ugh, I know ++).
Thoughts?
The module is evaled every time a css file loads? That doesn't sound right, must be something going on there, right?
👍 LGTM
https://github.com/stealjs/steal/issues/123