diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-12 12:49:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-12 12:49:19 +0200 |
commit | 143d3f1d90b1d8e35f03e03aa7d39c4090fe0296 (patch) | |
tree | 56b438c6ade0dd323e6a882a9071cfe5f069a86a /swat2/style/qooxdoo/widgets/core/QxClient.js | |
parent | 6ccf2321cef9203bb80cb091700ea798095d094b (diff) | |
download | samba-143d3f1d90b1d8e35f03e03aa7d39c4090fe0296.tar.gz samba-143d3f1d90b1d8e35f03e03aa7d39c4090fe0296.tar.bz2 samba-143d3f1d90b1d8e35f03e03aa7d39c4090fe0296.zip |
Remove unused swat2 code
metze
Diffstat (limited to 'swat2/style/qooxdoo/widgets/core/QxClient.js')
-rw-r--r-- | swat2/style/qooxdoo/widgets/core/QxClient.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/swat2/style/qooxdoo/widgets/core/QxClient.js b/swat2/style/qooxdoo/widgets/core/QxClient.js deleted file mode 100644 index 19851a9850..0000000000 --- a/swat2/style/qooxdoo/widgets/core/QxClient.js +++ /dev/null @@ -1,2 +0,0 @@ -/* Copyright (c): 2002-2005 (Germany): United Internet, 1&1, GMX, Schlund+Partner, Alturo */ -function QxClient(){if(QxClient._instance){return QxClient._instance;};var n=navigator;var u=n.userAgent;var v=n.vendor;var p=n.product;var r=null;if(window.opera){r="opera";}else if(typeof v=="string"&&v=="KDE"){r="khtml";}else if(typeof p=="string"&&p=="Gecko"){r="gecko";}else if (/msie/i.test(u)){r="mshtml";};this.engine=r;this.mshtml=r=="mshtml";this.gecko=r=="gecko";this.opera=r=="opera";this.khtml=r=="khtml";n=u=v=p=r=null;QxClient._instance=this;};QxClient.extend(Object,"QxClient");proto.getEngine=function(){return this.engine;};proto.isMshtml=function(){return this.engine=="mshtml";};proto.isGecko=function(){return this.engine=="gecko";};proto.isOpera=function(){return this.engine=="opera";};proto.isKhtml=function(){return this.engine=="khtml";};proto.isNotMshtml=function(){return !this.isMshtml();};proto.isNotGecko=function(){return !this.isGecko();};proto.isNotOpera=function(){return !this.isMshtml();};proto.isNotKhtml=function(){return !this.isKhtml();};window.client=new QxClient;
\ No newline at end of file |