Skip to content

Commit 8eb0480

Browse files
hansonrhansonr
authored andcommitted
SwingJS_site.zip update
1 parent 7408e9e commit 8eb0480

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed
135 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20190203080855
1+
20190204111617
135 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20190203080855
1+
20190204111617
135 Bytes
Binary file not shown.

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10695,6 +10695,7 @@ try {
1069510695
J2S._traceEvents = (document.location.href.indexOf("j2sevents") >= 0)
1069610696
J2S._traceMouse = (document.location.href.indexOf("j2smouse") >= 0)
1069710697
J2S._traceMouseMove = (document.location.href.indexOf("j2smousemove") >= 0)
10698+
J2S._startProfiling = (document.location.href.indexOf("j2sprofile") >= 0)
1069810699
} catch (e) {}
1069910700

1070010701
J2S.onClazzLoaded || (J2S.onClazzLoaded = function(i, msg) {console.log([i,msg])});
@@ -12812,6 +12813,8 @@ if (!target) {
1281212813
__clazzLoaded = true;
1281312814
// create the Clazz object
1281412815
LoadClazz();
12816+
if (J2S._startProfiling)
12817+
Clazz.startProfiling();
1281512818
if (applet._noMonitor)
1281612819
Clazz._LoaderProgressMonitor.showStatus = function() {
1281712820
}
@@ -14478,7 +14481,7 @@ Clazz.startProfiling = function(doProfile) {
1447814481
if (typeof doProfile == "number") {
1447914482
_jsid0 = _jsid;
1448014483
setTimeout(function() { var s = "total wall time: " + doProfile + " sec\n" + Clazz.getProfile(); console.log(s); System.out.println(s)}, doProfile * 1000);
14481-
} else if (!doProfile) {
14484+
} else if (doProfile === false) {
1448214485
_jsid = 0;
1448314486
_profileNew = null;
1448414487
}

0 commit comments

Comments
 (0)