Sha256: 6814a82e62a223393d2ed645e67ec200569b9ad298d45122ec2005e07e350c0c

Contents?: true

Size: 560 Bytes

Versions: 6

Compression:

Stored size: 560 Bytes

Contents

define("dojox/app/module/env", ["dojo/_base/declare"], function(declare){
	return declare(null, {
		mode: "",
		init: function(){

			//TODO BROADLY categorize the mode of the app...mobile,desktop
			//     This should be done with UA sniffing, but remember
			//	very broadly, this is for purposes of deciding
			//	which ui to render, NOT feature detection	
			/*
			this.mode="mobile";
			var def = this.inherited(arguments);

			//just an example
			return def.then(function(){
				console.log("env init after inherited inits");
			});	
			*/
		}
	});
});

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
dojox-rails-0.11.0 vendor/assets/javascripts/app/module/env.js.uncompressed.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/app/module/env.js.uncompressed.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/app/module/env.js.uncompressed.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/app/module/env.js.uncompressed.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/app/module/env.js.uncompressed.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/app/module/env.js.uncompressed.js