window.js 520 B

123456789101112131415161718
  1. /*
  2. Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
  3. Available via Academic Free License >= 2.1 OR the modified BSD license.
  4. see: http://dojotoolkit.org/license for details
  5. */
  6. if(!dojo._hasResource["dijit._base.window"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
  7. dojo._hasResource["dijit._base.window"] = true;
  8. dojo.provide("dijit._base.window");
  9. dojo.require("dojo.window");
  10. dijit.getDocumentWindow = function(doc){
  11. return dojo.window.get(doc);
  12. };
  13. }