Dojo Lazy Loading
dojo.require("dojo.event.*");
dojo.require("dojo.io.*");
are lazy. Be more specific:
dojo.require("dojo.event.connect");
dojo.require("dojo.io.bind");
Always load dojo package with a specific target.
Posted on May 7th, 2007 by SMD
Filed under: Dojo
I am a Free and Open Source Software lover, advocate. I would like to see Open Source grow, and more users being able to use and understand it. I would like to continue to become a part of this growing community, and to grow with it!



Hey,
Good news, the “.*” syntax is going away in 0.9 (at least in Core). Should help ensure that require()’s can’t as easily shoot you in the foot.
Hi Alex,
Thank you for pointing me to this. Sure, that’s a good news in dojo 0.9. I will give it a try.
Regards.