--
You received this message because you are subscribed to the Google Groups "Scala.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/22174c15-8564-43f9-b6bc-44189bcaf33f%40googlegroups.com.
Hi,
No, it's not explained anywhere, because there's nothing specific to Scala.js about it. The same idiom is used for Scala APIs. See for example the foreach method.
Cheers,
Sébastien
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/fb681cf4-6db4-42ba-acbe-998e40501bff%40googlegroups.com.
Probably still could go in the scalajs interop docs though, since its something that will continue to bite people. Even if technically not scalajs specific, I bet lots of people who hit this (e.g. me, multiple times!) will have never hit it anywhere else before that.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CAJwkOg5tvjSbYVHXP3saqOe2cErfxBOXwaa0YYZsZvWbMuhr3g%40mail.gmail.com.