mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
jso apis: make static WebSocket method public (#663)
Co-authored-by: noblemaster <contact@noblemaster.com>
This commit is contained in:
parent
8005ba54ec
commit
f40cb430fa
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user