PDA

View Full Version : Ext.Loader OnDemand loading -



nanosonde
10 Feb 2011, 8:16 AM
Hi,

I am currently struggling with the Ext.Loader class singleton.

Could anybody give an example which shows how to use it?

I tried this one which does not work. The browser says that it does not know Ext.Loader.



Ext.onReady(function() {

Ext.Loader.load( ['test.js'], function() {
// do something
});
});

Thanks!