scala-js/scala-js — pull request #939 by gzm0 (2014-08-15 09:45:21+00:00)
Title: Fix #927: Add support for automatic Scala.js cross versioning

When fully cross-building against Scala JVM and Scala.js, your library
dependencies are likely the same, except for the _sjs suffix. With
this commit, you will be able to write:

```
libraryDependencies <++= Seq(
"org.example" %?% "blah-lib" % "0.2",
"org.example" %?% "test-lib" % "0.1" % "test"
)
```

and sbt will automatically figure out if the Scala.js suffix is
required (i.e. whether the setting is used in a Scala.js project).