jso: update Navigator.java, getGamepads is a function, not a property (#962)

This commit is contained in:
Hontvári Levente 2024-10-15 09:12:47 +02:00 committed by GitHub
parent 94c50dd1bc
commit 312d8abee8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,6 @@ public final class Navigator implements JSObject {
@JSProperty
public static native String[] getLanguages();
@JSProperty
public static native Gamepad[] getGamepads();
@JSBody(script = "return navigator.hardwareConcurrency")