JSmol.min.js reports TypeError: 'undefined' is not an object (evaluating
'a._checkDeferred’) when sending scripts from a web page via JavaScript.
Entering same commands on the JSmol applet Console works Ok.
I assume that I’m testing the correct version. Expanding
jmol-14.3.7_2014.08.25.zip,
I'm guessing that is a caching problem?
On Tue, Aug 26, 2014 at 2:24 AM, Jaime Prilusky
jaime.prilu...@weizmann.ac.il wrote:
JSmol.min.js reports TypeError: 'undefined' is not an object (evaluating
'a._checkDeferred’) when sending scripts from a web page via JavaScript.
Entering same
That comes from
Jmol.script = function(applet, script) {
if (applet._checkDeferred(script))
return;
applet._script(script);
}
Which might imply someone forgot the applet parameter.
On Tue, Aug 26, 2014 at 7:14 AM, Robert Hanson hans...@stolaf.edu wrote:
Dear Bob,
I’m downloading again and expanding
http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.7_2014.08.25.zip
The file j2s/Jmol.properties states ___JmolVersion=“14.3.6_2014.08.14
How this can be a caching problem?
On Aug 26, 2014, at 3:17 PM, Robert Hanson
I don't think it's a caching problem. But it doesn't look like a download
problem. It looks like you simply forgot the applet parameter and issued:
Jmol.script(background blue)
instead of
Jmol.script(jmolApplet0, background blue)
or something like that. The error is coming from a page-derived
http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.7_2014.08.25.zip
Just one minor fix, but what is perhaps interesting here is some low-level
rewriting I did of a couple of core JavaScript implementations of Java
classes (ArrayList, Hashtable) as well as the main j2sjmol.js library code
that looks
6 matches
Mail list logo