lihaoyi / hands-on-scala-js

Better documentation for Scala.js
142 stars 52 forks source link

getElementById is not called in Scala #48

Closed adamvoss closed 7 years ago

adamvoss commented 7 years ago

The text contains multiple references to calling document.getElementById as if it were being done in the Scala code under discussion. In the current state of the examples document.getElementById is called on the JavaScript side and the resulting object passed into the Scala code. This PR updates the text to reflect this reality.