Bob:
Then link to your site does not work with Safari on the Mac,  Works with 
Firefox and Chrome.  When I launch the file test2.htm from the desktop, it 
again works in Firefox and Chrome but not Safari.  In this case the list of 
files loading is visible and the crash comes at the following:


TypeError: b.slice is not a function. (In 'b.slice(c, d)', 'b.slice' is 
undefined)


Phil


> On Dec 20, 2015, at 6:37 PM, Robert Hanson <hans...@stolaf.edu> wrote:
> 
> I have made some significant changes to the way JSmol handles arrays. This 
> needs wider testing -- Mac OS especially, JavaScript/HTML5 specifically.
> 
> The full code is at:
> 
> http://chemapps.stolaf.edu/jmol/zip/jmol-14.4.0_2015.12.20.zip 
> <http://chemapps.stolaf.edu/jmol/zip/jmol-14.4.0_2015.12.20.zip>
> 
> 
> But you could also just test it at
> 
> http://chemapps.stolaf.edu/jmol/jsmol2/jsmol.htm 
> <http://chemapps.stolaf.edu/jmol/jsmol2/jsmol.htm>
> 
> if you want to. 
> 
> If something is wrong, it will be immediately obvious. Specific tests that 
> will be helpful are from the middle column and include anything that is 
> binary: the PyMOL session file, the water.xyz.gz, 1hxw.png, 
> square_planar.spartan, among others. 
> 
> Mostly what I did was to implement byte arrays (Int8Array in JavaScript) and 
> much faster array manipulation using .slice(). 
> 
> Maybe also making images.
> 
> I think this may break Internet Explorer 9, but that might not be a big deal 
> -- there were just 300 visits out of 250,000 from that. But also Maybe Safari 
> 5.1 will break. again, only very few visits from that. Maybe time to move on.
> 
> 
> Bob
> 
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Department of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr <http://www.stolaf.edu/people/hansonr>
> 
> 
> If nature does not answer first what we want,
> it is better to take what answer we get. 
> 
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

Philip Bays
Emeritus Professor of Chemistry
Saint Mary's College
Notre Dame, IN 46556
pb...@saintmarys.edu


------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to