Bob,
I think you're correct. The user may want no suffix for some
reason. If I understand fully the way Jmol.js reponds now this will
be changing the behavior. I believe passing "" for namesuffix now
appends an automatic index to the applet. I still think it would be
the most appropriate behavior.
Jonathan
PS. The "multi-touch" sounds neat. Unfortunately, I don't have
anything to test it on.
On Nov 15, 2009, at 12:25 PM, Robert Hanson wrote:
> I think empty string should be accepted as such and not considered
> undefined. The user then is saying, "I want no extension -- just
> call it "jmolApplet".
>
>
> 2009/11/14 Angel Herráez <[email protected]>
> On 14 Nov 2009 at 10:05, Robert Hanson wrote:
>
> > if (nameSuffix == undefined) is correct. That's what you want.
>
> I thought I had tested that the parameter in a function call is
> never undefined, but I see now it is not the case. The empty string
> fails undefined, of course, so we need
>
> if (nameSuffix==undefined || nameSuffix==="")
>
> Right? Who does the change?
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>
>
>
> --
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> 1520 St. Olaf Ave.
> Northfield, MN 55057
> http://www.stolaf.edu/people/hansonr
> phone: 507-786-3107
>
>
> 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
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
Dr. Jonathan H. Gutow
Chemistry Department [email protected]
UW-Oshkosh Office:920-424-1326
800 Algoma Boulevard FAX:920-424-2042
Oshkosh, WI 54901
http://www.uwosh.edu/facstaff/gutow
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers