notacouch/rloader

No real ready event for css files

Opened this issue · 0 comments

Asynchronous loading effects only js-files. CSS files will just be added as 
child to head an afterwards the ready events are fired. 

So the ready event only checks if js files are completely loaded, but I would 
expect the same behaviour for css too.

Example
You need to load an external css to arrange some html elements, after css has 
totally loaded you need to measure width, height or position of the arranged 
elements. If your ready event fires to early, the calculation will be incorrect 
…  


Original issue reported on code.google.com by markus.e...@gmail.com on 3 Oct 2013 at 1:07