I agree that simpler is better, and there was a lot of sniffing code just for
old browsers. So I
am reducing it to (for any OS):
isBrowserCompliant = hasGetElementById;
// known exceptions (old browsers):
if (browser == "opera" && browserVersion <= 7.54 && os == "mac"
|| browser == "webkit" && browserVersion < 125.12
|| browser == "msie" && os == "mac"
|| browser == "konqueror" && browserVersion <= 3.3
) {
isBrowserCompliant = false;
}
No need to do separate checking of every OS + browser combination.
I will commit this change to both 12.1 and 12.0
On 30 May 2011 at 11:46, Robert Hanson wrote:
> Angel, I think the Jmol.js code for the mac check should be changed from:
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users