I have migrated one store from Elite to Aurora and dojo addOnLoad is working fine for it. While I migrated other stores, it is not working for any of the stores with same code base.
Later I found out that i need to comment "dojo/domReady!", to make dojo.addOnLoad work on these stores.
dojo.addOnLoad was used in < 1.7 DOJO version and same behavior is achieved by "dojo/domReady!", in 1.7+. So can't we use both together at different placed if we are using DOJO 18.
Let me know if more details are required.
Thanks.