UNPKG

dijit

Version:

Dijit provides a complete collection of user interface controls based on Dojo, giving you the power to create web applications that are highly optimized for usability, performance, internationalization, accessibility, but above all deliver an incredible u

26 lines (21 loc) 781 B
define([ "dojo/_base/kernel", // kernel.experimental "dojo/robotx" // includes doh/robot, dojo/robot, and dojo/robotx, all of which affect and return doh/robot module ], function(kernel, robot){ // module: // dijit/robotx // summary: // Loads doh/robot, dojo/robot, dojo/robotx, and // sets dijit global in main window to point to the dijit loaded in the iframe. // TODO: Remove for 2.0. Tests shouldn't reference a dijit global at all, and should load dojo/robotx // in preference to this file. kernel.experimental("dijit.robotx"); var __updateDocument = robot._updateDocument; robot._updateDocument = function(){ __updateDocument(); var win = kernel.global; if(win.dijit){ window.dijit = win.dijit; // window reference needed for IE } }; });