Skip to content

Commit 005eade

Browse files
hansonrhansonr
authored andcommitted
update - JSTempFile, java.nio, java.jar
1 parent edb26be commit 005eade

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed
701 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20180823081141
1+
20180823095007
701 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20180823081141
1+
20180823095007
701 KB
Binary file not shown.

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11495,8 +11495,11 @@ if (!J2S._version)
1149511495

1149611496
J2S._isDirectCall = function(url) {
1149711497
for ( var key in J2S.db._DirectDatabaseCalls) {
11498-
if (key.indexOf(".") >= 0 && url.indexOf(key) >= 0)
11499-
return true;
11498+
if (key.indexOf(".") >= 0 && url.indexOf(key) >= 0) {
11499+
// hack because ebi is not returning ajax calls
11500+
return url.indexOf(".ebi.ac.") < 0 || url.indexOf("dbfetch/dbfetch") < 0;
11501+
11502+
}
1150011503
}
1150111504
return false;
1150211505
}
@@ -17907,7 +17910,7 @@ var s=this;
1790717910
if(arguments.length==1){
1790817911
var cs=arguments[0].toString().toLowerCase();
1790917912
var charset=[
17910-
"utf-8","UTF8","us-ascii","iso-8859-1","8859_1","gb2312","gb18030","gbk"
17913+
"utf-8","utf8","us-ascii","iso-8859-1","8859_1","gb2312","gb18030","gbk"
1791117914
];
1791217915
var existed=false;
1791317916
for(var i=0;i<charset.length;i++){

0 commit comments

Comments
 (0)