From 5f3efd3f8449900b97080e1f397615b7a551594a Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 26 Jan 2015 18:26:23 +0400 Subject: [PATCH] Return EventTarget to Window interface --- teavm-dom/src/main/java/org/teavm/dom/browser/Window.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teavm-dom/src/main/java/org/teavm/dom/browser/Window.java b/teavm-dom/src/main/java/org/teavm/dom/browser/Window.java index de54a754d..d1a17b03c 100644 --- a/teavm-dom/src/main/java/org/teavm/dom/browser/Window.java +++ b/teavm-dom/src/main/java/org/teavm/dom/browser/Window.java @@ -16,6 +16,7 @@ package org.teavm.dom.browser; import org.teavm.dom.ajax.XMLHttpRequest; +import org.teavm.dom.events.EventTarget; import org.teavm.dom.html.HTMLDocument; import org.teavm.dom.json.JSON; import org.teavm.dom.typedarrays.*; @@ -28,7 +29,7 @@ import org.teavm.jso.JSProperty; * * @author Alexey Andreev */ -public interface Window extends JSGlobal, StorageProvider { +public interface Window extends JSGlobal, EventTarget, StorageProvider { @JSProperty HTMLDocument getDocument();