-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
52 lines (48 loc) · 1.53 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* This file is generated and updated by Sencha Cmd. You can edit this file as
* needed for your application, but these edits will have to be merged by
* Sencha Cmd when upgrading.
*/
console.log('app.js');
Ext.application({
name: 'sencha2',
// views: [
// 'skater.Item',
// 'sencha2.view.item.Foo'
// ],
// controllers:[
// 'SkaterController'
// ],
// stores:[
// 'SkaterStore'
// ],
// launch: function () {
// Ext.create('Ext.container.Viewport',{
// layout:{
// type:'border'
// },
// items:[
// {
// xtype: 'sencha2-ItemView',
// flex:1,
// region: 'center'
// },
// {
// xtype: 'itemfoo',
// flex: 0.5,
// region: 'north'
// }
// ]
// });
//
// }
extend: 'sencha2.Application',
autoCreateViewport: false
// autoCreateViewport: 'sencha2.view.skater2.Skater',
//autoCreateViewport: 'sencha2.view.main.Main'
//-------------------------------------------------------------------------
// Most customizations should be made to sencha2.Application. If you need to
// customize this file, doing so below this section reduces the likelihood
// of merge conflicts when upgrading to new versions of Sencha Cmd.
//-------------------------------------------------------------------------
});