Skip to content

Commit 6d4906a

Browse files
authored
Merge pull request scala-js#42 from sjrd/upgrades
Upgrades
2 parents 24f76a4 + 5f51c29 commit 6d4906a

File tree

5 files changed

+14
-17
lines changed

5 files changed

+14
-17
lines changed

.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ script:
99
scala:
1010
- 2.10.7
1111
- 2.11.12
12-
- 2.12.4
13-
- 2.13.0-M2
12+
- 2.12.5
13+
- 2.13.0-M3
1414
jdk:
1515
- oraclejdk8
1616
env:
17-
- SCALAJS_VERSION=0.6.21
18-
- SCALAJS_VERSION=1.0.0-M1
19-
- SCALAJS_VERSION=1.0.0-M2
17+
- SCALAJS_VERSION=0.6.22
18+
- SCALAJS_VERSION=1.0.0-M3
19+
matrix:
20+
exclude:
21+
- scala: 2.10.7
22+
env: SCALAJS_VERSION=1.0.0-M3
2023

2124
cache:
2225
directories:

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import sbtcrossproject.crossProject
22

3-
crossScalaVersions in ThisBuild := Seq("2.12.4", "2.11.12", "2.10.7", "2.13.0-M2")
3+
crossScalaVersions in ThisBuild := Seq("2.12.5", "2.11.12", "2.10.7", "2.13.0-M3")
44
scalaVersion in ThisBuild := (crossScalaVersions in ThisBuild).value.head
55

66
val commonSettings: Seq[Setting[_]] = Seq(

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.16
1+
sbt.version=0.13.17

project/build.sbt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
val scalaJSVersion =
2-
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.21")
2+
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.22")
33

44
addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
5-
6-
{
7-
if (scalaJSVersion != "1.0.0-M1")
8-
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.3.0")
9-
else
10-
Nil
11-
}
5+
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.3.0")
126

137
addSbtPlugin("org.scalastyle" % "scalastyle-sbt-plugin" % "0.8.0")

testSuite/js/src/test/scala/org/scalajs/testsuite/utils/Platform.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
\* */
88
package org.scalajs.testsuite.utils
99

10-
import scala.scalajs.runtime
10+
import scala.scalajs.js
1111

1212
object Platform {
1313
/** Returns `true` if and only if the code is executing on a JVM.
@@ -23,5 +23,5 @@ object Platform {
2323
// (i.e. do no link on the JVM).
2424

2525
def areTypedArraysSupported: Boolean =
26-
runtime.Bits.areTypedArraysSupported
26+
js.typeOf(js.constructorOf[js.typedarray.ArrayBuffer]) != "undefined"
2727
}

0 commit comments

Comments
 (0)