mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
JS: change type of MessageEvent.data back JSObject
This commit is contained in:
parent
e3bbf12f49
commit
f0f3b060e9
|
@ -15,12 +15,13 @@
|
||||||
*/
|
*/
|
||||||
package org.teavm.jso.dom.events;
|
package org.teavm.jso.dom.events;
|
||||||
|
|
||||||
|
import org.teavm.jso.JSObject;
|
||||||
import org.teavm.jso.JSProperty;
|
import org.teavm.jso.JSProperty;
|
||||||
import org.teavm.jso.typedarrays.ArrayBuffer;
|
import org.teavm.jso.typedarrays.ArrayBuffer;
|
||||||
|
|
||||||
public interface MessageEvent extends Event {
|
public interface MessageEvent extends Event {
|
||||||
@JSProperty
|
@JSProperty
|
||||||
Object getData();
|
JSObject getData();
|
||||||
|
|
||||||
@JSProperty("data")
|
@JSProperty("data")
|
||||||
String getDataAsString();
|
String getDataAsString();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user