scala-js-website icon indicating copy to clipboard operation
scala-js-website copied to clipboard

Source for https://www.scala-js.org/

Results 63 scala-js-website issues
Sort by recently updated
recently updated
newest added

A new version of Scala(JS)Fiddle is in the works and can be previewed at https://fiddle.scala-js.org/embed?gist=3dfc003dedd4da5d821d&files=SierpinskiTriangle.scala The biggest difference to the original http://scala-js-fiddle.com is that this new ScalaFiddle is designed to...

Name: scala-js-pdf Url: https://github.com/coreyauger/scala-js-pdf Description: Type-safe and Scala-friendly library over pdf.js Dependency: scala-js-dom, pdf.js

an example with a class with a constructor would help here: https://www.scala-js.org/doc/interoperability/sjs-defined-js-classes.html E.g. ``` @ScalaJSDefined final class Node( val id: Int, val label: String ) extends js.Object ```

On the [libraries page](https://www.scala-js.org/libraries/libs.html), the `enableIf` library at the bottom has a [multi-line dep](https://github.com/scala-js/scala-js-website/blob/0baec77e787278e91bd37721eec94d35726069a2/_data/library/scalalibs.yml#L191-L193): ``` scala addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full) libraryDependencies += "com.thoughtworks.enableIf" %% "enableif" % "latest.release"...

Name: CesiumScala Url: https://github.com/workingDog/CesiumScala Description: Scala.js interface to Cesium.js 3D globe and map Dependency: "com.github.workingDog" %%% "cesiumscala" % "1.1" Thanks in advance.

https://www.scala-js.org/doc/project/dependencies.html does not document `minified`. The only doc I could find was in the 0.6.3 release notes: https://www.scala-js.org/news/2015/05/12/announcing-scalajs-0.6.3/

They diverge from the JVM. See https://github.com/scala-js/scala-js/issues/2206

enhancement

Explain how class constructors should be expressed for facades. There is an example of code here https://github.com/scala-js/scala-js-dom/blob/master/src/main/scala/org/scalajs/dom/raw/lib.scala#L6363-L6365

https://github.com/sjrd/scala-js-ts-importer

I believe after https://github.com/scala-js/scala-js-website/blob/master/doc/calling-javascript.md#defining-javascript-interfaces-with-traits it would be beneficial to show extending a Javascript interface. That way users can easily see how to enrich their JavaScript APIs with minimal work. I...