cthree/mercury — comment on commit 824e4550f4bcd2154efd13e0e2640d383852d984
File:  line 0
By jejacks0n:

Thanks for this.. some of it is accurate, and some isn't.. So, the loaded event is in fact fired as stated in the current documentation.. some of it is out of date, but what is described does work -- if it's put into the page that's being loaded. If it's inside the mercury config, it has to be different, which should be added.. but look at the code here:

Mercury.trigger('ready')
jQuery(iframeWindow).trigger('mercury:ready')
iframeWindow.Event.fire(iframeWindow, 'mercury:ready') if iframeWindow.Event && iframeWindow.Event.fire
iframeWindow.onMercuryReady() if iframeWindow.onMercuryReady

You can see there that the events do happen, but they happen within the page that's being edited.. This is important, and I think we need to call that out more, but the changes to some of the readme isn't accurate.