| 1 |
{ |
| 2 |
"id": "customApp", |
| 3 |
"name": "customApp", |
| 4 |
"description": "A simple app to show how to plug custom view controllers", |
| 5 |
|
| 6 |
"loaderConfig": { |
| 7 |
"paths": { |
| 8 |
"customApp": "../dojox/app/tests/customApp" |
| 9 |
} |
| 10 |
}, |
| 11 |
|
| 12 |
"modules": [ |
| 13 |
], |
| 14 |
|
| 15 |
"controllers": [ |
| 16 |
"dojox/app/controllers/Load", |
| 17 |
"dojox/app/controllers/Transition", |
| 18 |
"dojox/app/controllers/Layout" |
| 19 |
], |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
"has" : { |
| 24 |
"ie9orLess" : { |
| 25 |
"controllers": [ |
| 26 |
"dojox/app/controllers/HistoryHash" |
| 27 |
] |
| 28 |
}, |
| 29 |
"!ie9orLess" : { |
| 30 |
"controllers": [ |
| 31 |
"dojox/app/controllers/History" |
| 32 |
] |
| 33 |
} |
| 34 |
}, |
| 35 |
|
| 36 |
"defaultView": "home", |
| 37 |
|
| 38 |
"views": { |
| 39 |
"home": { |
| 40 |
"template": "customApp/home.html", |
| 41 |
"dependencies": [ |
| 42 |
"dojox/mobile/RoundRectList", |
| 43 |
"dojox/mobile/ListItem" |
| 44 |
] |
| 45 |
}, |
| 46 |
"dtl": { |
| 47 |
"type": "customApp/DtlView", |
| 48 |
"controller" : "customApp/dtl", |
| 49 |
"template": "customApp/dtl.html" |
| 50 |
}, |
| 51 |
"widget": { |
| 52 |
"type": "customApp/WidgetView", |
| 53 |
"templateString": "<div><button data-dojo-attach-point='myButton' data-dojo-type='dojox/mobile/Button'>I'm the templated view widget</button></div>" |
| 54 |
}, |
| 55 |
"widget2": { |
| 56 |
"type": "customApp/WidgetView2", |
| 57 |
"controller": "customApp/widget" |
| 58 |
} |
| 59 |
|
| 60 |
} |
| 61 |
} |