Skip to content

Fix the result type of a few methods in SVGTextContentElement to Double. #341

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

Merged
merged 3 commits into from
Feb 8, 2019

Conversation

georgeorfanidi
Copy link
Contributor

@georgeorfanidi georgeorfanidi commented Nov 26, 2018

def getComputedTextLength(): Int = js.native
should be
def getComputedTextLength(): Double = js.native

https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement

``def getComputedTextLength(): Int = js.native``
should be 
def getComputedTextLength(): Double = js.native
@georgeorfanidi
Copy link
Contributor Author

I did sign the CLA.

Copy link
Member

@sjrd sjrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, and sorry for letting this slip through the cracks.

@sjrd sjrd changed the title Wrong type in method. Int should be Double Fix the result type of a few methods in SVGTextContentElement to Double. Feb 8, 2019
@sjrd sjrd merged commit b1222bf into scala-js:master Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants