]> git.wh0rd.org - tt-rss.git/blame - 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
CommitLineData
2f01fe57
AD
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
a089699c
AD
8if(!dojo._hasResource["dojo.jaxer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
9dojo._hasResource["dojo.jaxer"] = true;
2f01fe57 10dojo.provide("dojo.jaxer");
a089699c
AD
11
12if(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;
2f01fe57 18}
a089699c
AD
19
20onserverload = dojo._loadInit;
21
2f01fe57 22}