Debian Codegraph @

dojox/app/tests/notNestedTestApp/src.js

raw symbols SCIP
1 require(["dojo/_base/window","dojox/app/main", "dojox/json/ref", "dojo/sniff"],
2 function(win, Application, json, has){
3 win.global.modelApp = {};
4 modelApp.list = {
5 identifier: "label",
6 'items':[]
7 };
8
9
10 var configurationFile = "./config.json";
11
12 require(["dojo/text!"+configurationFile], function(configJson){
13 var config = json.fromJson(configJson);
14 var width = window.innerWidth || document.documentElement.clientWidth;
15 // if(width <= 600){ // for this test only use tablet mode...
16 // has.add("phone", true);
17 // }
18 has.add("ie9orLess", has("ie") && (has("ie") <= 9));
19 Application(config);
20 });
21 });