I have tried to use App.js instead of classes.js in http://dev.sencha.com/deploy/ext-4.1...p/desktop.html example however it didn't work. Is there any tutorial on how to customize the desktop example?
Printable View
I have tried to use App.js instead of classes.js in http://dev.sencha.com/deploy/ext-4.1...p/desktop.html example however it didn't work. Is there any tutorial on how to customize the desktop example?
I am not sure I understand your question ...
App.js is the main app that loads each file individually
all-classes.js is the compiled version that loads in 1 file built using SDK.. see app.jsb3
Scott.
In desktop.html
comment this line
<!--<script type="text/javascript" src="all-classes.js"></script>-->
<script type="text/javascript">
Ext.Loader.setPath({
'Ext.ux.desktop': 'js',
MyDesktop: ''
});
Ext.require('MyDesktop.App');
var myDesktopApp;
Ext.onReady(function () {
myDesktopApp = new MyDesktop.App();
});
</script>
And after that you can play with the files BogusModule.js, GridWindows.js, etc and other files
Regards