Skip to content

Commit

Permalink
update readme/manual-testing to scala 2.12.2, which reduces readme co…
Browse files Browse the repository at this point in the history
…de size from 1.5m to 1.3m
  • Loading branch information
lihaoyi committed May 14, 2017
1 parent cda2d97 commit 97d9504
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ val shared = Seq(
scalaJSStage in Global := FullOptStage,
organization := "com.lihaoyi",
version := _root_.fastparse.Constants.version,
scalaVersion := "2.11.8",
scalaVersion := "2.12.2",
libraryDependencies += "com.lihaoyi" %% "acyclic" % "0.1.5" % "provided",
addCompilerPlugin("com.lihaoyi" %% "acyclic" % "0.1.5"),
autoCompilerPlugins := true,
Expand Down Expand Up @@ -222,7 +222,7 @@ lazy val demo = project.enablePlugins(ScalaJSPlugin)
.settings(shared:_*)
.settings(
libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "0.8.2",
libraryDependencies += "com.lihaoyi" %%% "scalatags" % "0.5.3",
libraryDependencies += "com.lihaoyi" %%% "scalatags" % "0.6.5",
emitSourceMaps := false,
publishArtifact := false,
publishTo := Some(Resolver.file("Unused transient repository", file("target/unusedrepo")))
Expand Down
2 changes: 1 addition & 1 deletion demo/src/main/scala/demo/DemoMain.scala
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ object DemoMain {
for(track <- remaining) track.savedTicks += tillNext
assert(remaining.exists(_.tillNext == 0))
logs.append("Sleeping:\t" + milliSleep + "ms")
dom.setTimeout(() => tick(), milliSleep)
dom.window.setTimeout(() => tick(), milliSleep)
false
}else{
// `remaining` is empty, nothing left to continue playing,
Expand Down

0 comments on commit 97d9504

Please sign in to comment.