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

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

Added Dojo 1.9.3 release.

File size: 457 bytes
Line 
1require(["dojox/app/main", "dojox/json/ref", "dojo/sniff"],
2        function(Application, json, has){
3
4        var configurationFile = "./config.json";
5
6        require(["dojo/text!"+configurationFile], function(configJson){
7                var config = json.fromJson(configJson);
8                var width = window.innerWidth || document.documentElement.clientWidth;
9                if(width <= 600){
10                        has.add("phone", true);
11                }
12                has.add("ie9orLess", has("ie") && (has("ie") <= 9));
13                Application(config);
14        });
15});
Note: See TracBrowser for help on using the repository browser.