source: Dev/trunk/src/client/dojox/app/module/env.js

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

Added Dojo 1.9.3 release.

File size: 536 bytes
Line 
1define(["dojo/_base/declare"], function(declare){
2        return declare(null, {
3                mode: "",
4                init: function(){
5
6                        //TODO BROADLY categorize the mode of the app...mobile,desktop
7                        //     This should be done with UA sniffing, but remember
8                        //      very broadly, this is for purposes of deciding
9                        //      which ui to render, NOT feature detection       
10                        /*
11                        this.mode="mobile";
12                        var def = this.inherited(arguments);
13
14                        //just an example
15                        return def.then(function(){
16                                console.log("env init after inherited inits");
17                        });     
18                        */
19                }
20        });
21});
Note: See TracBrowser for help on using the repository browser.