mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 00:04:10 -08:00
jso: update Navigator.java, getGamepads is a function, not a property (#962)
This commit is contained in:
parent
94c50dd1bc
commit
312d8abee8
|
@ -42,7 +42,6 @@ public final class Navigator implements JSObject {
|
||||||
@JSProperty
|
@JSProperty
|
||||||
public static native String[] getLanguages();
|
public static native String[] getLanguages();
|
||||||
|
|
||||||
@JSProperty
|
|
||||||
public static native Gamepad[] getGamepads();
|
public static native Gamepad[] getGamepads();
|
||||||
|
|
||||||
@JSBody(script = "return navigator.hardwareConcurrency")
|
@JSBody(script = "return navigator.hardwareConcurrency")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user