Revision: 20409 http://sourceforge.net/p/jmol/code/20409 Author: hansonr Date: 2015-03-28 14:16:39 +0000 (Sat, 28 Mar 2015) Log Message: ----------- JSmol JavaScript library update
Modified Paths: -------------- trunk/Jmol/src/org/jmol/adapter/readers/xml/XmlReader.java Modified: trunk/Jmol/src/org/jmol/adapter/readers/xml/XmlReader.java =================================================================== --- trunk/Jmol/src/org/jmol/adapter/readers/xml/XmlReader.java 2015-03-28 13:39:21 UTC (rev 20408) +++ trunk/Jmol/src/org/jmol/adapter/readers/xml/XmlReader.java 2015-03-28 14:16:39 UTC (rev 20409) @@ -213,18 +213,23 @@ } } - @SuppressWarnings("unused") - private void createDomNodeJS(String id, Object data) { + /** + * @param id + * @param data + */ + void createDomNodeJS(String id, Object data) { // JavaScript only; untested // no doubt there is a more efficient way to do this. // Firefox, at least, does not recognize "/>" in HTML blocks // that are added this way. + + @SuppressWarnings("unused") + Object applet = parent.vwr.html5Applet; /** * * @j2sNative * - proto._createDomNode = function(id, data) { - id = this._id + "_" + id; + id = applet._id + "_" + id; var d = document.getElementById(id); if (d) document.body.removeChild(d); @@ -256,7 +261,6 @@ d.style.display = "none"; document.body.appendChild(d); return d; - } * */ { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits