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.
184 lines (174 loc) • 4.52 kB
JSON
{
"id": "nestedTestApp",
"name": "Scrollable Test App",
"description": "This is a test app for scrollable lists.",
"splash": "splash",
"loaderConfig": {
"paths": {
"nestedTestApp": "../dojox/app/tests/nestedTestApp"
}
},
"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"
,"dojox/mobile/Carousel"
,"dojox/mobile/SwapView"
,"dojox/mobile/CarouselItem"
],
// 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": [
"nestedTestApp/nestedTestApp"
],
"controllers": [
"dojox/app/controllers/Load",
"dojox/app/controllers/Transition",
"dojox/app/controllers/Layout",
"nestedTestApp/controllers/CustomLogger"
],
//stores we are using
"stores": {
"longlistStore":{
"type": "dojo/store/Memory",
"observable": true,
"params": {
"data": "modelApp.list"
}
}
},
"has" : {
"phone" : {
"defaultView": "P1,S1,V1"
},
"!phone" : {
"template": "nestedTestApp/views/tablet/ViewScrollableLists.html",
"controller": "nestedTestApp/views/tablet/ViewScrollableLists",
// "defaultView": "P1,S1,V1+P1,S1,V8"
// "defaultView": "P1,S1,V8"
// "defaultView": "P1"
"defaultView": "V2"
// "defaultView": "P2,S2,Ss2"
// "defaultView": "P2,S2,Ss2+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": 1,
"timed100Loops": 0,
//views are groups of views and models loaded at once
"views": {
"configuration": {
"defaultView": "Nav1",
"transition": "slide",
"views": {
"Nav1": {
"controller": "nestedTestApp/views/configuration/Nav1.js",
"template": "nestedTestApp/views/configuration/Nav1.html"
}
}
},
"P1": {
"defaultTransition": "slide",
"controller": "nestedTestApp/views/P1.js",
"template": "nestedTestApp/views/P1.html",
"defaultView": "S1",
"views": {
"S1": {
"template": "nestedTestApp/views/S1.html",
"controller": "nestedTestApp/views/S1.js",
//"defaultView": "V8",
"defaultView": "V1+V8",
"transition": "none",
"views": {
"TestInfo": {
"template": "nestedTestApp/views/TestInfo.html",
"controller": "nestedTestApp/views/TestInfo.js"
},
"V1": {
"transition": "slide",
"template": "nestedTestApp/views/V1.html",
"controller": "nestedTestApp/views/V1.js"
},
"V3": {
"transition": "none",
"template": "nestedTestApp/views/V3.html",
"controller": "nestedTestApp/views/V3.js"
},
"V8": {
"constraint" : "right",
"controller": "nestedTestApp/views/V8.js",
"template": "nestedTestApp/views/V8.html"
}
}
}
}
},
"V2": {
"defaultTransition": "fade",
"controller": "nestedTestApp/views/V2.js",
"template": "nestedTestApp/views/V2.html"
},
"V4": {
"transition": "flip",
"controller": "nestedTestApp/views/V4.js",
"template": "nestedTestApp/views/V4.html"
},
"P2": {
"defaultTransition": "slide",
"views": {
"S2": {
"views": {
"Ss2": {
"defaultView": "V5+V6",
"views": {
"V5": {
"controller": "nestedTestApp/views/V5.js",
"template": "nestedTestApp/views/V5.html",
"constraint" : "center"
},
"V6": {
"constraint" : "right",
"controller": "nestedTestApp/views/V6.js",
"template": "nestedTestApp/views/V6.html"
}
}
}
}
}
}
}
}
}