]>
Commit | Line | Data |
---|---|---|
2f01fe57 | 1 | /* |
81bea17a | 2 | Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. |
2f01fe57 AD |
3 | Available via Academic Free License >= 2.1 OR the modified BSD license. |
4 | see: http://dojotoolkit.org/license for details | |
5 | */ | |
6 | ||
7 | ||
81bea17a AD |
8 | if(!dojo._hasResource["dijit.robotx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. |
9 | dojo._hasResource["dijit.robotx"] = true; | |
2f01fe57 AD |
10 | dojo.provide("dijit.robotx"); |
11 | dojo.require("dijit.robot"); | |
12 | dojo.require("dojo.robotx"); | |
81bea17a AD |
13 | |
14 | ||
15 | //WARNING: This module depends on GLOBAL dijit being set for v1.5 code; therefore the lexical variable that | |
16 | //references "dijit" has been renamed to "dijit_" | |
17 | ||
2f01fe57 AD |
18 | dojo.experimental("dijit.robotx"); |
19 | (function(){ | |
81bea17a AD |
20 | var __updateDocument = doh.robot._updateDocument; |
21 | ||
22 | dojo.mixin(doh.robot,{ | |
23 | _updateDocument: function(){ | |
24 | __updateDocument(); | |
25 | var win = dojo.global; | |
26 | if(win["dijit"]){ | |
27 | window.dijit = win.dijit; // window reference needed for IE | |
28 | } | |
29 | } | |
30 | }); | |
31 | ||
2f01fe57 | 32 | })(); |
81bea17a | 33 | |
2f01fe57 | 34 | } |