Javascript accepts strings inside both single and double quotes, so it 
shouldn't.

A student programmer whose name is lost in the mists of time made the decision 
to put our program's Javascript variables in single quotes, and we have been 
stuck with it ever since.  (Stuck with it because it would be too much trouble 
to go through the entire app and change '' to "", and it needs always to be one 
or the other so that we know how to modify Java strings so that they don't 
cause parsing errors when we place their values in a Javascript string.)


________________________________
From: Otis Rothenberger <o...@chemagic.com>
Reply-To: <jmol-users@lists.sourceforge.net>
Date: Thu, 14 Jan 2010 12:28:22 -0500
To: <jmol-users@lists.sourceforge.net>
Conversation: [Jmol-users] Jmol usually not displaying molecule
Subject: Re: [Jmol-users] Jmol usually not displaying molecule

Hello Again B, B, and A,

Just a thought because I went to bed thinking about this last night:

Does  jmolAppletInline([250, 250], '\n  Marvin ETC pickup Bob's
apostrophe quotes? If so, then I think the regular expression in
_jmolSterilizeInline(model) is simply changing them back to apostrophe
quotes (&#39;). Is that the intent? I'm using Jmol 11.9.9.

Otis



--
Otis Rothenberger
http://chemagic.org

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to