Dojo huge footprint- Am I doing something wrong
问题 I am making a web application using dojo toolkit and heres my code dojo.ready( function(){ dojo.declare("Main",null,{ _dialog:null, constructor: function() { dojo.require("dijit.Dialog"); }, make_dialog: function(url) { _dialog= new dijit.Dialog({ href:url, }); _dialog.show(); } }); // class ends temp=new Main(); });// dojo.ready ends My problem is that when I load dijit.Dialog it is loading various js files( 20 plus) like tooltip.js,backgroundIframe.js taking about 60kb alone. I want to ask