source: Dev/trunk/src/client/dojox/app/tests/nestedTestApp/src.js

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 570 bytes
Line 
1require(["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){
16                        has.add("phone", true);
17                }
18                has.add("ie9orLess", has("ie") && (has("ie") <= 9));
19                Application(config);
20        });
21});
Note: See TracBrowser for help on using the repository browser.