Skip to content

Commit 4569409

Browse files
hansonrhansonr
authored andcommitted
SwingJS-site.zip update
1 parent 4fdeb89 commit 4569409

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed
750 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20181115123646
1+
20181115181231
750 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20181115123646
1+
20181115181231
750 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/srcjs/swingjs2.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11334,9 +11334,9 @@ console.log("J2S._getRawDataFromServer " + J2S._serverUrl + " for " + query);
1133411334
}
1133511335

1133611336
J2S.getCachedJavaFile = function(key) {
11337-
// called by swingjs.JSUtil
11337+
// called by Jmol FileManager
1133811338
if (!J2S._javaFileCache) return null;
11339-
var data = J2S._javaFileCache.get$S(key);
11339+
var data = J2S._javaFileCache.get$O(key);
1134011340
if (data == null && key.indexOf("file:/") == 0)
1134111341
data = J2S._javaFileCache.get$O(key.substring(6));
1134211342
return data;
@@ -13499,7 +13499,7 @@ console.log("J2S._getRawDataFromServer " + J2S._serverUrl + " for " + query);
1349913499
}
1350013500
z = (node.style.zIndex = (z > 0 ? zbase : z0));
1350113501
node.style.position = "absolute";
13502-
if (J2S._checkLoading)
13502+
if (J2S._checkLoading)
1350313503
System.out.println("setting z-index to " + z + " for " + node.id);
1350413504
return z;
1350513505
}
@@ -18830,7 +18830,8 @@ if(lineNum>=0){
1883018830
});
1883118831

1883218832

18833-
TypeError.prototype.getMessage$ || (TypeError.prototype.getMessage$ = function(){ return (this.stack ? this.stack : this.message || this.toString()) + (this.getStackTrace ? this.getStackTrace$() : Clazz._getStackTrace())});
18833+
TypeError.prototype.getMessage$ || (TypeError.prototype.getMessage$ = TypeError.prototype.getLocalizedMessage$
18834+
= function(){ return (this.stack ? this.stack : this.message || this.toString()) + (this.getStackTrace ? this.getStackTrace$() : Clazz._getStackTrace())});
1883418835
TypeError.prototype.printStackTrace$ = function(){System.out.println(this + "\n" + this.stack)};
1883518836
TypeError.prototype.printStackTrace$java_io_PrintStream = function(stream){stream.println$S(e + "\n" + e.stack);};
1883618837

0 commit comments

Comments
 (0)