PDA

View Full Version : Ext.draw and Ext.utils deps loaded while they're not needed



lesmyrmidons
7 Jul 2011, 1:12 AM
Hi there,

I'm facing a problem with Sencha SDK Tools. When I create an app.jsb3 project, I get some imported ExtJS modules that I don't need at all, like Ext.draw or Ext.utils. However, I'm not setting these modules with Ext.require() calls.

Here are the modules I actually set:

Ext.require([
'Ext.container.Viewport',
'Ext.panel.Panel',
'Ext.toolbar.*',
'Ext.button.*',
'Ext.menu.*',
'Ext.data.*',
'Ext.grid.*',
'Ext.container.Container',
'Ext.layout.container.Fit',
'Ext.layout.container.Anchor',
'Ext.layout.container.Border',
'Ext.tab.Panel',
'Ext.form.*',
'Ext.window.MessageBox',
'Ext.MessageBox'
]);

Is this normal or did I miss something?

If I drop the draw and utils dependencies from the jsb3 project and then if I build the project, the dependencies are anyway loaded dynamically.

Thanks for any help.

Cheers,
Kevin