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:

> 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 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, the file j2s/Jmol.properties reports an older
>> version (14.3.6_2014.08.14), not 14.3.7_2014.08.25
>>
>>  Jaim
>>
>>  On Aug 26, 2014, at 6:31 AM, Robert Hanson <hans...@stolaf.edu> wrote:
>>
>>  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 like it is speeding up some processes by up to 10-15%. The
>> core methods in those important and much-used classes were somewhat
>> inefficient.
>>
>> ___JmolVersion="14.3.7_2014.08.25"
>>
>> bug fix: translation of atoms after deleting atoms having dots on crashes
>> Jmol
>>
>>  I hope to synchronize this with 14.2 later this week.
>>
>> Bob
>>
>> --
>> Robert M. Hanson
>> Larson-Anderson Professor of Chemistry
>> Chair, Department of Chemistry
>> St. Olaf College
>> Northfield, MN
>> 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
>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/_______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Department of Chemistry
> St. Olaf College
> Northfield, MN
> 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
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
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
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to