For some reason, the double @@ is breaking the string
See it with:

function compareSmiles(key, ans) {
        var v = " 'KEY'.find('SMILES','ANS')>0"
        .replace(/ANS/,ans)
        .replace(/KEY/,key)
        .replace(/\\/g,"\\\\");
        alert(v)
}


------------------------------------------------------------------------------
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