All Downloads are FREE. Search and download functionalities are using the official Maven repository.

japgolly.scalagraal.js.LanguageJs.scala Maven / Gradle / Ivy

The newest version!
package japgolly.scalagraal.js

import japgolly.scalagraal._

object LanguageJs extends Language("js") {

  override def polyglotImport(b: Binding) =
    s"Polyglot.import('${b.bindingName}')"

  override protected def setBinding(a: String, b: String) =
    a + "=" + b

  override protected def unsetBinding(a: String) =
    a + "=undefined"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy