Skip to content

Commit fda883f

Browse files
committed
Core applet update
1 parent 16cc147 commit fda883f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
-186 KB
Binary file not shown.

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/*!
2+
3+
// BH 2022.01.12 adds pointer option see BHTEST
4+
25
* jQuery JavaScript Library v1.11.0
36
* http://jquery.com/
47
*
@@ -10376,6 +10379,7 @@ return jQuery;
1037610379

1037710380
}));
1037810381
// j2sQueryExt.js]
10382+
// BH 2022.01.12 adds pointer option
1037910383
// BH 7/13/2019 removing hook for J2S.unsetMouse
1038010384
// BH 7/21/2016 9:25:38 PM passing .pageX and .pageY to jQuery event
1038110385
// BH 7/24/2015 7:24:30 AM renamed from JSmoljQueryExt.js
@@ -10682,6 +10686,7 @@ return jQuery;
1068210686
})(jQuery,document,"click mousemove mouseup touchmove touchend", "outjsmol");
1068310687
// j2sApplet.js BH = Bob Hanson hansonr@stolaf.edu
1068410688

10689+
// BH 2022.01.12 adds pointer option
1068510690
// BH 2021.09.22 default file save as application/octet-stream, not text/plain
1068610691
// BH 2020.12.31 full 64-bit long
1068710692
// BH 2020.12.09 touch fixes for fdown and fdrag (j2sSlider)
@@ -12584,7 +12589,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1258412589
// otherwise, if J2S._firstTouch is undefined (!!x != x), set J2S._firstTouch
1258512590
// and ignore future touch events (through the first touchend):
1258612591

12587-
if (ev.type == "pointerdown" || "mousedown") {
12592+
if (ev.type == "pointerdown" || "mousedown") {// BHTEst
1258812593
J2S._haveMouse = true;
1258912594
} else {
1259012595
if (J2S._haveMouse) return;
@@ -14034,6 +14039,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1403414039

1403514040
// Google closure compiler cannot handle Clazz.new or Clazz.super
1403614041

14042+
// BH 2022.01.17 fixes interface default method referencing own static fields
1403714043
// BH 2021.12.19 adds Double -0; fixes println(Double)
1403814044
// BH 2021.12.15 default encoding for String.getBytes() should be utf-8.
1403914045
// BH 2021.08.16 fix for Interface initializing its subclass with static initialization
@@ -15522,6 +15528,7 @@ var copyStatics = function(clazzFrom, clazzThis, isInterface) {
1552215528
}
1552315529
}
1552415530
if (isInterface) {
15531+
clazzFrom.$static$ && (initStatics(clazzFrom), clazzFrom.$static$());
1552515532
clazzThis.$defaults$ && clazzThis.$defaults$(clazzThis);
1552615533
for (var o in clazzFrom.prototype) {
1552715534
if (clazzThis.prototype[o] == undefined && !excludeSuper(o)) {

0 commit comments

Comments
 (0)