Debian Codegraph @

dojox/app/tests/modelApp/config.json

raw symbols SCIP
1 {
2 "id": "modelApp",
3 "name": "Model App",
4 "description": "A modelApp",
5 "splash": "splash",
6
7 "dependencies": [
8 "dojox/app/utils/simpleModel",
9 "dojo/store/Observable",
10 "dojox/mobile/_base",
11 "dojox/mobile/compat",
12 "dojox/mobile/TabBar",
13 "dojox/mobile/RoundRect",
14 "dojox/mobile/TabBarButton",
15 "dojox/mobile/Button",
16 "dojox/mobile/TextBox",
17 "dojox/mobile/RoundRect",
18 "dojox/mobile/Heading",
19 "dojox/mobile/EdgeToEdgeStoreList",
20 "dojox/mobile/DatePicker",
21 "dojox/mobile/Opener",
22 "dojo/store/Memory",
23 "dojox/mobile/deviceTheme"
24 ],
25 // Modules for the application. The are basically used as the second
26 // array of mixins in a dojo.declare(). Modify the top level behavior
27 // of the application, how it processes the config or any other life cycle
28 // by creating and including one or more of these
29 "modules": [
30 //"dojox/app/module/env",
31 //"dojox/app/module/lifecycle"
32 ],
33
34 "controllers": [
35 "dojox/app/controllers/Load",
36 "dojox/app/controllers/Transition",
37 "dojox/app/controllers/Layout"
38 ],
39
40 //stores we are using
41 "stores": {
42 "listStore":{
43 "type": "dojo/store/Memory",
44 "observable": true,
45 "params": {
46 "data": "modelApp.listData"
47 }
48 }
49 },
50
51 // The has section will include the sections for which the has checks are true.
52 // For the sections with ! it will include the section if the has check is not true.
53 "has" : {
54 "ie9orLess" : {
55 "controllers": [
56 "dojox/app/controllers/HistoryHash"
57 ]
58 },
59 "!ie9orLess" : {
60 "controllers": [
61 "dojox/app/controllers/History"
62 ]
63 }
64 },
65
66 //the name of the scene to load when the app is initialized.
67 "defaultView": "home",
68
69 "defaultTransition": "slide",
70 //scenes are groups of views and models loaded at once
71 "views": {
72
73 "home": {
74 "dependencies":["dojox/mobile/ListItem","dojox/mobile/RoundRectList","dojox/mobile/RoundRectCategory","dojox/mobile/Heading"],
75 "template": "./main/main.html"
76 },
77
78 //list view, include list view and details view
79 "listMain": {
80 "defaultView": "list",
81 "defaultTransition": "slide",
82
83 "views": {
84 "list":{
85 "controller" : "./list/list.js",
86 "template": "./list/list.html",
87 "dependencies":["dojox/mobile/TextBox"]
88 },
89 "itemDetails":{
90 "controller" : "./list/itemDetails.js",
91 "template": "./list/itemDetails.html",
92 "dependencies":["dojox/mobile/TextBox"],
93 "defaultParams": {"cursor":"2"}
94 }
95 }
96 },
97
98 "simple":{
99 "stores": {
100 "namesStore":{
101 "type": "dojo/store/Memory",
102 "params": {
103 "data": "modelApp.names"
104 }
105 }
106 },
107 "models": {
108 "names": {
109 "modelLoader": "dojox/app/utils/simpleModel",
110 "params":{
111 "store": {"$ref":"#views.simple.stores.namesStore"}
112 }
113 }
114 },
115 "controller" : "./simple/simple.js",
116 "template": "./simple/simple.html",
117 "dependencies":["dojox/mobile/TextBox"]
118 },
119
120 "date": {
121 "controller": "./date/date.js",
122 "template": "./date/date.html",
123 "dependencies":["dojox/mobile/TextBox", "dojox/mobile/TextArea"]
124 }
125 }
126 }