-
Notifications
You must be signed in to change notification settings - Fork 161
HashChangeEvent missing #53
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
Comments
Shouldn't it rather be trait HashChangeEvent extends js.Object {
val newURL: String
val oldURL: String
} ? |
What's the advantage of inheriting from |
It's not a matter of advantage or disadvantage. If this represents a JavaScript object, it must inherit from Btw, it should even inherit from Event. |
Ok, thanks for the information. I saw some Scala.JS code which used case classes in order to cast native objects to them. As this worked fine in my case, I thought that was the way to go. By the way, I made a pull request with some additions a few weeks ago. Could you have a look at it? |
See also scala-js#53
See also scala-js#53
Update some url in README
There should be a
HashChangeEvent
. I defined it as follows:The text was updated successfully, but these errors were encountered: