dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
161 lines (152 loc) • 4.21 kB
JSON
{
"id": "notNestedTestApp",
"name": "Scrollable Test App",
"description": "This is a test app for scrollable lists.",
"splash": "splash",
"loaderConfig": {
"paths": {
"notNestedTestApp": "../dojox/app/tests/notNestedTestApp"
}
},
"dependencies": [
"dojox/mobile/_base",
"dojox/mobile/_compat",
"dojox/mobile/Button",
"dojox/mobile/Heading",
"dojox/mobile/ListItem",
"dojox/mobile/RoundRectList",
"dojox/mobile/RoundRectCategory",
"dojox/mobile/EdgeToEdgeStoreList",
"dojox/mobile/LongListMixin",
"dojox/mobile/TabBar",
"dojox/mobile/TabBarButton",
"dojox/app/widgets/Container",
"dojo/store/Memory",
"dojo/store/Observable",
"dojox/mobile/ScrollableView"
],
// Modules for the application. They are basically used as the second
// array of mixins in a dojo.declare(). Modify the top level behavior
// of the application, how it processes the config or any other life cycle
// by creating and including one or more of these
"modules": [
"notNestedTestApp/notNestedTestApp"
],
"controllers": [
"dojox/app/controllers/Load",
"dojox/app/controllers/Transition",
"dojox/app/controllers/Layout"
],
//stores we are using
"stores": {
"longlistStore":{
"type": "dojo/store/Memory",
"observable": true,
"params": {
"data": "modelApp.list"
}
}
},
"has" : {
"phone" : {
"defaultView": "Nav1"
},
"!phone" : {
// "template": "notNestedTestApp/views/tablet/ViewScrollableLists.html",
// "controller": "notNestedTestApp/views/tablet/ViewScrollableLists",
// "defaultView": "V2"
"defaultView": "Nav2+V2"
// "defaultView": "P2,S2,Ss2,V5+P2,S2,Ss2,V6"
},
"ie9orLess" : {
"controllers": [
"dojox/app/controllers/HistoryHash"
]
},
"!ie9orLess" : {
"controllers": [
"dojox/app/controllers/History"
]
}
},
// these are the possible transitions,
// if a transition is set on a view or parent it will override the transition set on the transitionEvent or the defaultTransition in the config.
"defaultTransition": "slide",
"appLogging": {
"logAll": 0,
"logTimeStamp": 0,
"loggingList": [
"logTransitions:"
]
},
"timedAutoFlow": 0,
"timed100Loops": 0,
//views are groups of views and models loaded at once
"views": {
"Nav1": {
"transition": "none",
"controller": "notNestedTestApp/views/configuration/Nav1.js",
"template": "notNestedTestApp/views/configuration/Nav1.html"
},
"Nav2": {
"transition": "none",
"template": "notNestedTestApp/views/tablet/ViewScrollableLists.html",
"controller": "notNestedTestApp/views/tablet/ViewScrollableLists",
"constraint" : "left"
},
"P1": {
"transition": "none",
"controller": "notNestedTestApp/views/P1.js",
"template": "notNestedTestApp/views/P1.html",
"constraint" : "bottom"
},
"S1": {
"transition": "none",
"template": "notNestedTestApp/views/S1.html",
"controller": "notNestedTestApp/views/S1.js",
"constraint" : "top"
},
"TestInfo": {
"transition": "none",
"template": "notNestedTestApp/views/TestInfo.html",
"controller": "notNestedTestApp/views/TestInfo.js"
,"constraint" : "center"
},
"V1": {
"defaultTransition": "slide",
"template": "notNestedTestApp/views/V1.html",
"controller": "notNestedTestApp/views/V1.js"
,"constraint" : "center"
},
"V3": {
"defaultTransition": "none",
"template": "notNestedTestApp/views/V3.html",
"controller": "notNestedTestApp/views/V3.js"
,"constraint" : "center"
},
"V2": {
"defaultTransition": "fade",
"controller": "notNestedTestApp/views/V2.js",
"template": "notNestedTestApp/views/V2.html"
,"constraint" : "center"
},
"V4": {
"transition": "flip",
"controller": "notNestedTestApp/views/V4.js",
"template": "notNestedTestApp/views/V4.html"
,"constraint" : "center"
},
"V5": {
"defaultTransition": "slide",
"controller": "notNestedTestApp/views/V5.js",
"template": "notNestedTestApp/views/V5.html"
,"constraint" : "center"
},
"V6": {
"defaultTransition": "slide",
"constraint" : "right",
"controller": "notNestedTestApp/views/V6.js",
"template": "notNestedTestApp/views/V6.html"
}
}
}