@@ -10652,7 +10652,7 @@ return jQuery;
1065210652 };
1065310653 };
1065410654})(jQuery,document,"click mousemove mouseup touchmove touchend", "outjsmol");
10655- // j2sApplet .js (based on JmolCore.js)
10655+ // j2sCore .js (based on JmolCore.js)
1065610656
1065710657// BH 1/8/2018 10:27:46 PM SwingJS2
1065810658// BH 12/22/2017 1:18:42 PM adds j2sargs for setting arguments
@@ -13071,6 +13071,9 @@ J2S._getResourcePath = function(path, isJavaPath) {
1307113071
1307213072// Google closure compiler cannot handle Clazz.new or Clazz.super
1307313073
13074+
13075+ // BH 2/13/2018 6:24:44 AM adds String.copyValueOf (two forms)
13076+ // BH 2/7/2018 7:47:07 PM adds System.out.flush and System.err.flush
1307413077// BH 2/1/2018 12:14:20 AM fix for new int[128][] not nulls
1307513078// BH 1/9/2018 8:40:52 AM fully running SwingJS2; adds String.isEmpty()
1307613079// BH 12/16/2017 5:53:47 PM refactored; removed older unused parts
@@ -15575,7 +15578,10 @@ java.lang.System = System = {
1557515578 currentTimeMillis : function () {
1557615579 return new Date ().getTime ();
1557715580 },
15578- exit : function() { swingjs.JSToolkit && swingjs.JSToolkit.exit() },
15581+ exit : function() {
15582+ debugger
15583+ swingjs.JSToolkit && swingjs.JSToolkit.exit()
15584+ },
1557915585 gc : function() {}, // bh
1558015586 getProperties : function () {
1558115587 return System.props;
@@ -15648,6 +15654,8 @@ Sys.out.printf = Sys.out.printf$S$OA = Sys.out.format = Sys.out.format$S$OA = fu
1564815654
1564915655Sys.out.println = Sys.out.println$O = Sys.out.println$Z = Sys.out.println$I = Sys.out.println$S = Sys.out.println$C = Sys.out.println = function(s) {
1565015656
15657+ Sys.out.flush = function() {}
15658+
1565115659if (("" + s).indexOf("TypeError") >= 0) {
1565215660 debugger;
1565315661}
@@ -15690,6 +15698,8 @@ Sys.err.write = function (buf, offset, len) {
1569015698 Sys.err.print(String.instantialize(buf).substring(offset, offset+len));
1569115699};
1569215700
15701+ Sys.err.flush = function() {}
15702+
1569315703})(Clazz.Console, System);
1569415704
1569515705
@@ -16693,8 +16703,6 @@ return Clazz.array(Byte.TYPE, -1, arrs);
1669316703sp.contains$S = function(a) {return this.indexOf(a) >= 0} // bh added
1669416704sp.compareTo$S = sp.compareTo$TT = function(a){return this > a ? 1 : this < a ? -1 : 0} // bh added
1669516705
16696-
16697-
1669816706sp.toCharArray=function(){
1669916707var result=new Array(this.length);
1670016708for(var i=0;i<this.length;i++){
@@ -16960,6 +16968,16 @@ default:
1696016968
1696116969})(Clazz._Encoding);
1696216970
16971+ String.copyValueOf$CA$I$I = function(data,offset,count) {
16972+ var s = "";
16973+ for (var pt = offset, n = offset+count;pt < n;pt++)s += data[pt];
16974+ return s;
16975+ }
16976+ String.copyValueOf$CA = function(data) {
16977+ return sp.copyValueOf$CA$I$I(data, 0, data.length);
16978+ }
16979+
16980+
1696316981C$=Clazz.newClass(java.lang,"Character",function(){
1696416982if (typeof arguments[0] != "object")this.c$(arguments[0]);
1696516983},null,[java.io.Serializable,Comparable]);
@@ -18053,7 +18071,7 @@ Clazz.cloneFinals = function () {
1805318071 return o;
1805418072};
1805518073*/
18056- // SJSApplet .js
18074+ // SwingJSApplet .js
1805718075
1805818076// generic SwingJS Applet
1805918077
0 commit comments