source: Dev/branches/rest-dojo-ui/client/dojox/app/module/env.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

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.