Sha256: bc945bcf756faa907dbc66a47f3edd11a7d31235c2103e1a3547f4a13f16d7bf

Contents?: true

Size: 637 Bytes

Versions: 8

Compression:

Stored size: 637 Bytes

Contents

define("dijit/hccss", ["dojo/dom-class", "dojo/hccss", "dojo/ready", "dojo/_base/window"], function(domClass, has, ready, win){

	// module:
	//		dijit/hccss

	/*=====
	return function(){
		// summary:
		//		Test if computer is in high contrast mode, and sets `dijit_a11y` flag on `<body>` if it is.
		//		Deprecated, use ``dojo/hccss`` instead.
	};
	=====*/

	// Priority is 90 to run ahead of parser priority of 100.   For 2.0, remove the ready() call and instead
	// change this module to depend on dojo/domReady!
	ready(90, function(){
		if(has("highcontrast")){
			domClass.add(win.body(), "dijit_a11y");
		}
	});

	return has;
});

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
dojo_rails-0.0.2 vendor/assets/javascripts/dijit/hccss.js.uncompressed.js
dojo_rails-0.0.1 vendor/assets/javascripts/dijit/hccss.js.uncompressed.js
dijit-rails-0.11.0 vendor/assets/javascripts/dijit/hccss.js.uncompressed.js
dijit-rails-0.10.4 vendor/assets/javascripts/dijit/hccss.js.uncompressed.js
dijit-rails-0.10.3 vendor/assets/javascripts/dijit/hccss.js.uncompressed.js
dijit-rails-0.10.2 vendor/assets/javascripts/dijit/hccss.js.uncompressed.js
dijit-rails-0.10.1 vendor/assets/javascripts/dijit/hccss.js.uncompressed.js
dijit-rails-0.10.0 vendor/assets/javascripts/dijit/hccss.js.uncompressed.js