jaxer.js 622 B

1234567891011121314151617181920212223
  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["dojo.jaxer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
  7. dojo._hasResource["dojo.jaxer"] = true;
  8. dojo.provide("dojo.jaxer");
  9. if(typeof print == "function"){
  10. console.debug = Jaxer.Log.debug;
  11. console.warn = Jaxer.Log.warn;
  12. console.error = Jaxer.Log.error;
  13. console.info = Jaxer.Log.info;
  14. console.log = Jaxer.Log.warn;
  15. }
  16. onserverload = dojo._loadInit;
  17. }