Sure enough, I broke Jmol.evaluate() and Jmol.evaluateVar() in 05.12

see http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.13_2015.05.14.zip

Jmol.___JmolVersion="14.3.13_2015.05.14"

new feature: set contextDepthMax
  -- sets the maximum depth of contexts, including {}, if{} for{} while{}
function{}
     as well as the SCRIPT command and a number of expression-related
situations
  -- default 100
  -- minimum 10

bug fix; 05.12 breaks Jmol.evaluate and Jmol.evaluateVar and print
getProperty("variableInfo", exp)
bug fix: using historyLevel = ... or scriptlevelMax = ...  doesn't really
set these
bug fix: a number of settings have not been excluded from state scripts,
which
         only should save critical information for the state, not general
processing
  -- no longer saved in state
  -- no longer read using "set xxxxx" when that is in a state script
  -- includes: historylevel;imagestate;iskiosk;useminimizationthread;
  -- includes:
showkeystrokes;saveproteinstructurestate;testflag1;testflag2;testflag3;testflag4



On Wed, May 13, 2015 at 10:42 PM, Robert Hanson <hans...@stolaf.edu> wrote:

> it is deprecated; you should  use
>
> Jmol.evaluateVar()
>
> but it may be broken as well. :(
>
> On Wed, May 13, 2015 at 8:37 PM, Otis Rothenberger <osrot...@chemagic.com>
> wrote:
>
>> It seems to be Jmol.evaluate() in general. Did I miss something? Is that,
>> indeed, deprecated?
>>
>> Otis
>>
>>
>> > On May 13, 2015, at 9:27 PM, Otis Rothenberger <osrot...@chemagic.com>
>> wrote:
>> >
>> > Bob,
>> >
>> > 14.3.13_2015.05.12 throws an error on Jmol.evaluate(jmolApplet0,
>> "{*}.size”) - e.g.
>> >
>> > alert(Jmol.evaluate(jmolApplet0, "{*}.size”))
>> >
>> > TypeError: null is not an object (evaluating 'a.length')
>> > column: 63
>> > line: 1038
>> > message: "null is not an object (evaluating 'a.length')"
>> > stack: "↵↵↵↵↵↵↵↵↵↵_getPropertyAsJavaObject@
>> http://chemagic.com/molecules/jsmol/JSmol.min.js:307:295
>> ↵_evaluateDEPRECATED@
>> http://chemagic.com/molecules/jsmol/JSmol.min.js:307:461↵evaluate@
>> http://chemagic.com/molecules/jsmol/JSmol.min.js:336:529↵eval 
>> code↵eval@[native
>> code]↵_evaluateOn↵_evaluateAndWrap↵evaluate"
>> > __proto__: Error
>> >
>> > Mac Safari, FF, and Chrome seem to be broken. Chrome says:
>> >
>> > with (typeof __commandLineAPI !== 'undefined' ? __commandLineAPI : {
>> __proto__: null }) {
>> > Jmol.evaluate(jmolApplet0, "{*}.size”)
>> > }
>> >
>> > Otis
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > One dashboard for servers and applications across Physical-Virtual-Cloud
>> > Widest out-of-the-box monitoring support with 50+ applications
>> > Performance metrics, stats and reports that give you Actionable Insights
>> > Deep dive visibility with transaction tracing using APM Insight.
>> > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> > _______________________________________________
>> > Jmol-users mailing list
>> > Jmol-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> 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
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to