`beforerender` is already too late. Module initialization done using an event handler is wrong anyway. It's some kind of bootstrapping after all and should be performed by parts of the code which is directly responsible for DOM content handling of modules. (i.e. loader.js) This change though introduces a side-effect which was not the case previously: Nested `.container` elements trigger `rendered` events now. I've introduced this to ensure we're also lazy loading modules and let them handle their `rendered` events right after a redirect which rerendered the layout. (Only `#layout` got a `rendered` event then prior to this change) |
||
---|---|---|
.. | ||
css | ||
font | ||
img | ||
js | ||
error_norewrite.html | ||
error_unavailable.html | ||
index.php |