]> git.wh0rd.org - tt-rss.git/blob - lib/dojo/jaxer.js
build custom layer of Dojo to speed up loading of tt-rss (refs #293)
[tt-rss.git] / lib / dojo / jaxer.js
1 /*
2 Copyright (c) 2004-2010, 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
7
8 if(!dojo._hasResource["dojo.jaxer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
9 dojo._hasResource["dojo.jaxer"] = true;
10 dojo.provide("dojo.jaxer");
11
12 if(typeof print == "function"){
13 console.debug = Jaxer.Log.debug;
14 console.warn = Jaxer.Log.warn;
15 console.error = Jaxer.Log.error;
16 console.info = Jaxer.Log.info;
17 console.log = Jaxer.Log.warn;
18 }
19
20 onserverload = dojo._loadInit;
21
22 }