This is fixed. You also were not able to use keys such as "if" "then" "for"
"end" without quotes. I want to look at a few more things, then I will
release this.

On Fri, Jan 15, 2016 at 8:41 AM, Robert Hanson <hans...@stolaf.edu> wrote:

> How odd! This appears to be due to the use of the key "default" in the
> array. My guess is that the parser checks for that in the context of SWITCH
> and is not considering the context appropriately. I can track that down.
>
> Note that putting that into quotes avoids the issue:
>
>    var networkTypes = networkDefs.keys;
>    for (var networkType in networkTypes) {
>      var networkDef  = networkDefs[networkType];
>      if (networkDef..edgeType == "") {
>      }
>      networkDef..renderings = ["default": [size: defaultRendering..size,
> subTypeSpecific: {}]];
>    }
>
> ​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
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to