Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api
In directory usw-pr-cvs1:/tmp/cvs-serv25257
Modified Files:
browser.js
Log Message:
Fixed dom test, no longer use proprietry mozilla method.
Index: browser.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/browser.js,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** browser.js 2001/03/07 18:04:37 1.10
--- browser.js 2001/03/13 14:13:43 1.11
***************
*** 4,8 ****
The DynAPI Distribution is distributed under the terms of the GNU LGPL license.
! */
function Browser() {
var b=navigator.appName;
--- 4,8 ----
The DynAPI Distribution is distributed under the terms of the GNU LGPL license.
! */
function Browser() {
var b=navigator.appName;
***************
*** 21,25 ****
this.ie55=(this.version.indexOf('MSIE 5.5')>0);
this.opera=(this.b=="opera");
!
this.dom=((document.createRange&&(document.createRange().createContextualFragment))?true:false);
this.def=(this.ie||this.dom); // most used browsers, for faster if loops
var ua=navigator.userAgent.toLowerCase();
--- 21,25 ----
this.ie55=(this.version.indexOf('MSIE 5.5')>0);
this.opera=(this.b=="opera");
! this.dom=(document.createElement && document.appendChild &&
document.getElementsByTagName)?true:false;
this.def=(this.ie||this.dom); // most used browsers, for faster if loops
var ua=navigator.userAgent.toLowerCase();
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs