1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| define(["dojo/dom-class", "dojo/hccss", "dojo/domReady", "dojo/_base/window"], function(domClass, has, domReady, 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.
| };
| =====*/
|
| domReady(function(){
| if(has("highcontrast")){
| domClass.add(win.body(), "dijit_a11y");
| }
| });
|
| return has;
| });
|
|