Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Stored in app.js
- Ext.application({
- name: 'myapp',
- requires: [
- 'Ext.MessageBox'
- ],
- controllers: [
- 'form1'
- ],
- views: [
- 'Main',
- 'form1'
- ],
- launch: function() {
- var formPress = Ext.create('myapp.view.form1');
- Ext.Viewport.add(formPress);
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement