Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type of CustomEvent detail attribute #271

Merged
merged 1 commit into from Mar 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/scala/org/scalajs/dom/raw/lib.scala
Expand Up @@ -5091,7 +5091,7 @@ class CustomEvent extends Event {
*
* MDN
*/
def detail: Object = js.native
def detail: Any = js.native

/**
* Initializes the event in a manner analogous to the similarly-named method in the
Expand All @@ -5100,7 +5100,7 @@ class CustomEvent extends Event {
* MDN
*/
def initCustomEvent(typeArg: String, canBubbleArg: Boolean,
cancelableArg: Boolean, detailArg: Object): Unit = js.native
cancelableArg: Boolean, detailArg: Any): Unit = js.native
}

/**
Expand Down