ES6 Scala.jsxhr.open("GET", "https://api.twitter.com/1.1/search/" +)xhr.onload = { (e: Event) => if (xhr.status == 200) { $("#tweets").html(parseTweets(r))} JavaScript types as seen from Scala.jsAccess to the JavaScript global scope (1.x only)