]>
git.wh0rd.org - tt-rss.git/blob - lib/dijit/hccss.js.uncompressed.js
1 define("dijit/hccss", ["dojo/dom-class", "dojo/hccss", "dojo/ready", "dojo/_base/window"], function(domClass
, has
, ready
, win
){
9 // Test if computer is in high contrast mode, and sets `dijit_a11y` flag on `<body>` if it is.
10 // Deprecated, use ``dojo/hccss`` instead.
14 // Priority is 90 to run ahead of parser priority of 100. For 2.0, remove the ready() call and instead
15 // change this module to depend on dojo/domReady!
17 if(has("highcontrast")){
18 domClass
.add(win
.body(), "dijit_a11y");