mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
8 lines
17 KiB
JavaScript
8 lines
17 KiB
JavaScript
|
/*
|
||
|
Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
|
||
|
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||
|
see: http://dojotoolkit.org/license for details
|
||
|
*/
|
||
|
|
||
|
//>>built
|
||
|
define("dojo/_firebug/firebug",["../_base/kernel","require","../_base/html","../sniff","../_base/array","../_base/lang","../_base/event","../_base/unload"],function(_1,_2,_3,_4){var _5=(/Trident/.test(window.navigator.userAgent));if(_5){var _6=["log","info","debug","warn","error"];for(var i=0;i<_6.length;i++){var m=_6[i];if(!console[m]||console[m]._fake){continue;}var n="_"+_6[i];console[n]=console[m];console[m]=(function(){var _7=n;return function(){console[_7](Array.prototype.join.call(arguments," "));};})();}try{console.clear();}catch(e){}}if(_4("ff")||_4("chrome")||_4("safari")||_5||window.firebug||(typeof console!="undefined"&&console.firebug)||_1.config.useCustomLogger||_4("air")){return;}try{if(window!=window.parent){if(window.parent["console"]){window.console=window.parent.console;}return;}}catch(e){}var _8=document;var _9=window;var _a=0;var _b=null;var _c=null;var _d=null;var _e=null;var _f=null;var _10=null;var _11=false;var _12=[];var _13=[];var _14={};var _15={};var _16=null;var _17;var _18;var _19=false;var _1a=null;var _1b=document.createElement("div");var _1c;var _1d;window.console={_connects:[],log:function(){_1e(arguments,"");},debug:function(){_1e(arguments,"debug");},info:function(){_1e(arguments,"info");},warn:function(){_1e(arguments,"warning");},error:function(){_1e(arguments,"error");},assert:function(_1f,_20){if(!_1f){var _21=[];for(var i=1;i<arguments.length;++i){_21.push(arguments[i]);}_1e(_21.length?_21:["Assertion Failure"],"error");throw _20?_20:"Assertion Failure";}},dir:function(obj){var str=_22(obj);str=str.replace(/\n/g,"<br />");str=str.replace(/\t/g," ");_23([str],"dir");},dirxml:function(_24){var _25=[];_26(_24,_25);_23(_25,"dirxml");},group:function(){_23(arguments,"group",_27);},groupEnd:function(){_23(arguments,"",_28);},time:function(_29){_14[_29]=new Date().getTime();},timeEnd:function(_2a){if(_2a in _14){var _2b=(new Date()).getTime()-_14[_2a];_1e([_2a+":",_2b+"ms"]);delete _14[_2a];}},count:function(_2c){if(!_15[_2c]){_15[_2c]=0;}_15[_2c]++;_1e([_2c+": "+_15[_2c]]);},trace:function(_2d){var _2e=_2d||3;var f=console.trace.caller;for(var i=0;i<_2e;i++){var _2f=f.toString();var _30=[];for(var a=0;a<f.arguments.length;a++){_30.push(f.arguments[a]);}if(f.arguments.length){}else{}f=f.caller;}},profile:function(){this.warn(["profile() not supported."]);},profileEnd:function(){},clear:function(){if(_c){while(_c.childNodes.length){_1.destroy(_c.firstChild);}}_1.forEach(this._connects,_1.disconnect);},open:function(){_31(true);},close:function(){if(_11){_31();}},_restoreBorder:function(){if(_1c){_1c.style.border=_1d;}},openDomInspector:function(){_19=true;_c.style.display="none";_16.style.display="block";_d.style.display="none";document.body.style.cursor="pointer";_17=_1.connect(document,"mousemove",function(evt){if(!_19){return;}if(!_1a){_1a=setTimeout(function(){_1a=null;},50);}else{return;}var _32=evt.target;if(_32&&(_1c!==_32)){var _33=true;console._restoreBorder();var _34=[];_26(_32,_34);_16.innerHTML=_34.join("");_1c=_32;_1d=_1c.style.border;_1c.style.border="#0000FF 1px solid";}});setTimeout(function(){_18=_1.connect(document,"click",function(evt){document.body.style.cursor="";_19=!_19;_1.disconnect(_18);});},30);},_closeDomInspector:function(){document.body.style.cursor="";_1.disconnect(_17);_1.disconnect(_18);_19=false;console._restoreBorder();},openConsole:function(){_c.style.display="block";_16.style.display="none";_d.style.display="none";console._closeDomInspector();},openObjectInspector:function(){_c.style.display="none";_16.style.display="none";_d.style.display="block";console._closeDomInspector();},recss:function(){var i,a,s;a=document.getElementsByTagName("link");for(i=0;i<a.length;i++){s=a[i];if(s.rel.toLowerCase().indexOf("stylesheet")>=0&&s.href){var h=s.href.replace(/(&|%5C?)forceReload=\d+/,"");s.href=h+(h.indexOf("?")>=0?"&":"?")+"forceReload="+new Date().valueOf();}}}};function _31(_35){_11=_35||!_11;if(_b){_b.style.display=_11?"block":"none";}};function _36(){_31(true);if(_f){_f.focus();}};function _37(x,y,w,h){var win=window.open("","_fire
|