Skip to content

Commit 28a4edb

Browse files
committed
Change con.err() to con.error()
1 parent 40d21a4 commit 28a4edb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3139,7 +3139,7 @@ Con.consoleOutput = function (s, color) {
31393139
}
31403140
if (con == window.console) {
31413141
if (color == "red")
3142-
con.err(s);
3142+
con.error(s);
31433143
else
31443144
con.log(s);
31453145
return;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17193,7 +17193,7 @@ Con.consoleOutput = function (s, color) {
1719317193
}
1719417194
if (con == window.console) {
1719517195
if (color == "red")
17196-
con.err(s);
17196+
con.error(s);
1719717197
else
1719817198
con.log(s);
1719917199
return;

0 commit comments

Comments
 (0)