1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 05:05:55 +00:00

build custom layer of Dojo to speed up loading of tt-rss (refs #293)

This commit is contained in:
Andrew Dolgov
2011-03-04 19:02:28 +03:00
parent cfad9259a6
commit a089699c89
144 changed files with 55627 additions and 13766 deletions

View File

@@ -5,15 +5,18 @@
*/
if(!dojo._hasResource["dojo.jaxer"]){
dojo._hasResource["dojo.jaxer"]=true;
if(!dojo._hasResource["dojo.jaxer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojo.jaxer"] = true;
dojo.provide("dojo.jaxer");
if(typeof print=="function"){
console.debug=Jaxer.Log.debug;
console.warn=Jaxer.Log.warn;
console.error=Jaxer.Log.error;
console.info=Jaxer.Log.info;
console.log=Jaxer.Log.warn;
if(typeof print == "function"){
console.debug = Jaxer.Log.debug;
console.warn = Jaxer.Log.warn;
console.error = Jaxer.Log.error;
console.info = Jaxer.Log.info;
console.log = Jaxer.Log.warn;
}
onserverload=dojo._loadInit;
onserverload = dojo._loadInit;
}