SlexAxton/yepnope.js — Issue #93: domready inside callback 
Author: lukaszfiszer
Created: 2012-02-18 17:08:14+00:00
State: open

When using domready inside a yepnope callback, like this:

```
yepnope([
{
load: path_to_library,
callback: function() {
library.domready(){
doSomething();
}
}
```
doSomething() is often triggered after all images on the website has been loaded (so basically on document load ).

I tested it with latest jQuery and Mootools and their domready events are called way to late.

However I found a micro js library (https://github.com/ded/domready/) that triggers domready inside the yepnope callback correctly. Weird...

The demo of this bug is here: http://jsfiddle.net/lukaszfischer/drUQ2/