Changeset 937 in subversion


Ignore:
Timestamp:
Dec 10, 2007 10:24:33 AM (5 years ago)
Author:
thomasb
Message:

Remove some unused object properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/common.js

    r934 r937  
    44 |                                                                       | 
    55 | This file is part of the RoundCube web development suite              | 
    6  | Copyright (C) 2005-2006, RoundCube Dev, - Switzerland                 | 
     6 | Copyright (C) 2005-2007, RoundCube Dev, - Switzerland                 | 
    77 | Licensed under the GNU GPL                                            | 
    88 |                                                                       | 
     
    5353  this.mz = (this.dom && this.ver>=5);  // (this.dom && this.product=='Gecko') 
    5454  this.ns = ((this.ver<5 && this.name=='Netscape') || (this.ver>=5 && this.vendor.indexOf('Netscape')>=0)); 
    55   this.ns4 = (this.ns && parseInt(this.ver)==4); 
    5655  this.ns6 = (this.ns && parseInt(this.vendver)==6);  // (this.mz && this.ns) ? true : false; 
    5756  this.ns7 = (this.ns && parseInt(this.vendver)==7);  // this.agent.indexOf('Netscape/7')>0); 
     
    6059 
    6160  this.opera = (window.opera) ? true : false; 
    62   this.opera5 = (this.opera5 && this.agent.indexOf('Opera 5')>0) ? true : false; 
    63   this.opera6 = (this.opera && this.agent.indexOf('Opera 6')>0) ? true : false; 
    64   this.opera7 = (this.opera && this.agent.indexOf('Opera 7')>0) ? true : false; 
    6561 
    6662  if(this.opera && window.RegExp) 
     
    8177 
    8278  this.dhtml = ((this.ie4 && this.win) || this.ie5 || this.ie6 || this.ns4 || this.mz); 
    83   this.layers = this.ns4;  // (document.layers); 
    84   this.div = (this.ie4 || this.dom); 
    8579  this.vml = (this.win && this.ie && this.dom && !this.opera); 
    86   this.linkborder = (this.ie || this.mz); 
    87   this.rollover = (this.ver>=4 || (this.ns && this.ver>=3));  // (document.images) ? true : false; 
    8880  this.pngalpha = (this.mz || (this.opera && this.vendver>=6) || (this.ie && this.mac && this.vendver>=5) || 
    8981                   (this.ie && this.win && this.vendver>=5.5) || this.safari); 
Note: See TracChangeset for help on using the changeset viewer.