chrome, stacktrace ( , Firefox )? , , (?) - , ext-all.
Ext.require - , (, js-minification), .
( Ext.define Ext.create), , Ext Ext.require (, )
, , :
Ext.define('My.app.Panel', {
extend: 'Ext.panel.Panel',
requires: [
'My.app.PanelPart2',
'My.app.PanelPart3'
]
constructor: function (config) {
this.callParent(arguments);
},
statics: {
method: function () {
return 'abc';
}
}
});
( , .
Ext.loader.setConfig({
enabled: true,
paths: {
'My': 'my_own_path'
},
onError:function(){}
. mitchsimeons: http://www.sencha.com/forum/showthread.php?178888-Tons-of-Synchronously-Loading-Warning-Messages
, :
http://www.sencha.com/blog/using-ext-loader-for-your-application