From f40cb430fab6c4edb89cd59cfa33c407bcbd8356 Mon Sep 17 00:00:00 2001 From: Christoph Aschwanden Date: Fri, 17 Feb 2023 19:39:10 +0100 Subject: [PATCH] jso apis: make static WebSocket method public (#663) Co-authored-by: noblemaster --- jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java b/jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java index 8c5ead3ed..48079f199 100644 --- a/jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java +++ b/jso/apis/src/main/java/org/teavm/jso/websocket/WebSocket.java @@ -80,5 +80,5 @@ public abstract class WebSocket implements JSObject { public abstract String getUrl(); @JSBody(script = "return typeof WebSocket !== 'undefined';") - protected static native boolean isSupported(); + public static native boolean isSupported(); }