Return EventTarget to Window interface

This commit is contained in:
Alexey Andreev 2015-01-26 18:26:23 +04:00
parent a8d6ce1647
commit 5f3efd3f84

View File

@ -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();