Skip to content

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