, , .
, ...
Ext.Image
... .
...
Sencha app build xxx
... Sencha touch/src.
, , , Sencha .
, :
[WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.MessageBox';
consider adding 'Ext.MessageBox' explicitly as a require of the
corresponding class
App.js , ( Ext.Messagebox).
, , - ( localhost/myapp/index.html localhost/myapp/build/{package}/{myapp }/index.html).
There is one more thing that can happen. Its scope of asynchronous operations. Like this:
Ext.defer(function() {this.log(‘all good’);}, 500);
this is not the area of your class. You need to use:
Ext.defer(function() {this.log(‘all good’);}, 500, this);
Or you can even use ...
Ext.bind()
... to bind a region to a function.
source
share