headjs/headjs — pull request #273 by xhaggi (2013-11-15 10:20:47+00:00)
Title: fix: head.ready not triggered because of wrong asset.state for css

Some browsers (e.g. Safari) don't fire the onload event for loaded css, so the asset.state will never updated to LOADED. If allLoaded() is called the css assets are in state = LOADING. This PR adds a workaround for this issue without using the img hack (PR#240).