Debian Codegraph @

dijit/robotx.js

raw symbols SCIP
1 define([
2 "dojo/_base/kernel", // kernel.experimental
3 "dojo/robotx" // includes doh/robot, dojo/robot, and dojo/robotx, all of which affect and return doh/robot module
4 ], function(kernel, robot){
5
6 // module:
7 // dijit/robotx
8 // summary:
9 // Loads doh/robot, dojo/robot, dojo/robotx, and
10 // sets dijit global in main window to point to the dijit loaded in the iframe.
11 // TODO: Remove for 2.0. Tests shouldn't reference a dijit global at all, and should load dojo/robotx
12 // in preference to this file.
13
14 kernel.experimental("dijit.robotx");
15
16 var __updateDocument = robot._updateDocument;
17
18 robot._updateDocument = function(){
19 __updateDocument();
20 var win = kernel.global;
21 if(win.dijit){
22 window.dijit = win.dijit; // window reference needed for IE
23 }
24 };
25 });