2010-11-15 07:39:52 +00:00
|
|
|
/*
|
2011-11-08 16:40:44 +00:00
|
|
|
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
2010-11-15 07:39:52 +00:00
|
|
|
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
|
|
|
see: http://dojotoolkit.org/license for details
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2011-11-08 16:40:44 +00:00
|
|
|
if(!dojo._hasResource["dijit.robotx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
|
|
|
dojo._hasResource["dijit.robotx"] = true;
|
2010-11-15 07:39:52 +00:00
|
|
|
dojo.provide("dijit.robotx");
|
|
|
|
dojo.require("dijit.robot");
|
|
|
|
dojo.require("dojo.robotx");
|
2011-11-08 16:40:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
//WARNING: This module depends on GLOBAL dijit being set for v1.5 code; therefore the lexical variable that
|
|
|
|
//references "dijit" has been renamed to "dijit_"
|
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
dojo.experimental("dijit.robotx");
|
|
|
|
(function(){
|
2011-11-08 16:40:44 +00:00
|
|
|
var __updateDocument = doh.robot._updateDocument;
|
|
|
|
|
|
|
|
dojo.mixin(doh.robot,{
|
|
|
|
_updateDocument: function(){
|
|
|
|
__updateDocument();
|
|
|
|
var win = dojo.global;
|
|
|
|
if(win["dijit"]){
|
|
|
|
window.dijit = win.dijit; // window reference needed for IE
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
})();
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|