diff options
author | Andrew Dolgov <[email protected]> | 2013-03-18 10:26:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-18 10:26:26 +0400 |
commit | f0cfe83e3725f9a3928da97a6e3085e79cb25309 (patch) | |
tree | 4b0af188defaa807c7bc6ff3a101b41c9166c463 /lib/dijit/hccss.js.uncompressed.js | |
parent | 9a2885da170ffd64358b99194095851a2d09c1b6 (diff) |
upgrade dojo to 1.8.3 (refs #570)
Diffstat (limited to 'lib/dijit/hccss.js.uncompressed.js')
-rw-r--r-- | lib/dijit/hccss.js.uncompressed.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/dijit/hccss.js.uncompressed.js b/lib/dijit/hccss.js.uncompressed.js new file mode 100644 index 000000000..9e0ac88e8 --- /dev/null +++ b/lib/dijit/hccss.js.uncompressed.js @@ -0,0 +1,23 @@ +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; +}); |