Debian Codegraph @

dojox/app/tests/layoutApp2/config.json

raw symbols SCIP
1 {
2 "id": "layoutApp2",
3 "name": "layout App2",
4 "description": "A layout App2",
5 "splash": "splash",
6
7 "loaderConfig": {
8 "paths": {
9 "layoutApp2": "../dojox/app/tests/layoutApp2"
10 }
11 },
12
13 "dependencies": [
14 "dojox/app/utils/simpleModel",
15 "dojox/mobile/_base",
16 "dojox/mobile/compat",
17 "dojox/mobile/TabBar",
18 "dojox/mobile/RoundRect",
19 "dojox/mobile/TabBarButton",
20 "dojox/mobile/Button",
21 "dojox/mobile/RoundRect",
22 "dojox/mobile/Heading",
23 "dojo/store/Memory",
24 "dojo/store/Observable",
25 "dojox/mobile/EdgeToEdgeStoreList",
26 "dojox/mobile/View",
27 "dojox/app/widgets/Container"
28 ],
29
30 "modules": [],
31
32 "controllers": [
33 "dojox/app/controllers/Load",
34 "dojox/app/controllers/Transition",
35 "dojox/app/controllers/Layout",
36 "dojox/app/tests/layoutApp2/controllers/UnloadViewController"
37 ],
38
39 //stores we are using
40 "stores": {
41 "namesStore":{
42 "type": "dojo/store/Memory",
43 "params": {
44 "data": "modelApp.names"
45 }
46 },
47 "listStore":{
48 "type": "dojo/store/Memory",
49 "observable": true,
50 "params": {
51 "data": "modelApp.listData"
52 }
53 }
54 },
55
56 //models and instantiation parameters for the models. Including 'type' as a property allows
57 //one to override the class that will be used for the model.
58 "models": {
59 "names": {
60 "modelLoader": "dojox/app/utils/simpleModel",
61 "params":{
62 "store": {"$ref":"#stores.namesStore"}
63 }
64 }
65 },
66
67 // The has section will include the sections for which the has checks are true.
68 // For the sections with ! it will include the section if the has check is not true.
69 "has" : {
70 "ie9orLess" : {
71 "controllers": [
72 "dojox/app/controllers/HistoryHash"
73 ]
74 },
75 "!ie9orLess" : {
76 "controllers": [
77 "dojox/app/controllers/History"
78 ]
79 }
80 },
81
82 // this app uses constraints and multiple files in defaultView instead of an outer template for a table layout
83 // "template": "layoutApp2/views/navigation.html",
84
85 //the name of the view to load when the app is initialized.
86 "defaultView": "navigation+simple",
87
88 // these are the possilbe defaultTransitions
89 //"defaultTransition": "slide",
90 //"defaultTransition": "none",
91 //"defaultTransition": "fade",
92 "defaultTransition": "fade",
93
94 "views": {
95 "navigation":{
96 "constraint" : "left",
97 "template": "layoutApp2/views/navigation.html"
98 },
99 "simple":{
100 "controller" : "layoutApp2/views/simple.js",
101 "constraint" : "center",
102 "template": "layoutApp2/views/simple.html",
103 "dependencies":["dojox/mobile/TextBox"]
104 },
105
106 //list view, include list view and details view
107 "listMain": {
108 "defaultView": "list",
109 "transition": "flip",
110 "constraint" : "center",
111
112 "views": {
113 "list":{
114 "controller" : "layoutApp2/views/list.js",
115 "template": "layoutApp2/views/list.html",
116 "dependencies":["dojox/mobile/TextBox"]
117 },
118 "itemDetails":{
119 "controller" : "layoutApp2/views/itemDetails.js",
120 "template": "layoutApp2/views/itemDetails.html",
121 "dependencies":["dojox/mobile/TextBox"],
122 "defaultParams": {"cursor":"2"}
123 }
124 }
125 },
126
127 "date": {
128 "controller": "layoutApp2/views/date.js",
129 "template": "layoutApp2/views/date.html",
130 "constraint" : "center",
131 "dependencies":["dojox/mobile/DatePicker", "dojox/mobile/Opener"]
132 }
133 }
134 }