| 1 | define([ |
| 2 | "dojo/window", // windowUtils.get |
| 3 | "../main" // export symbol to dijit |
| 4 | ], function(windowUtils, dijit){ |
| 5 | // module: |
| 6 | // dijit/_base/window |
| 7 | |
| 8 | /*===== |
| 9 | return { |
| 10 | // summary: |
| 11 | // Back compatibility module, new code should use windowUtils directly instead of using this module. |
| 12 | }; |
| 13 | =====*/ |
| 14 | |
| 15 | dijit.getDocumentWindow = function(doc){ |
| 16 | return windowUtils.get(doc); |
| 17 | }; |
| 18 | }); |