File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ val shared = Seq(
2828 scalaJSStage in Global := FullOptStage ,
2929 organization := " com.lihaoyi" ,
3030 version := _root_.fastparse.Constants .version,
31- scalaVersion := " 2.11.8 " ,
31+ scalaVersion := " 2.12.2 " ,
3232 libraryDependencies += " com.lihaoyi" %% " acyclic" % " 0.1.5" % " provided" ,
3333 addCompilerPlugin(" com.lihaoyi" %% " acyclic" % " 0.1.5" ),
3434 autoCompilerPlugins := true ,
@@ -222,7 +222,7 @@ lazy val demo = project.enablePlugins(ScalaJSPlugin)
222222 .settings(shared:_* )
223223 .settings(
224224 libraryDependencies += " org.scala-js" %%% " scalajs-dom" % " 0.8.2" ,
225- libraryDependencies += " com.lihaoyi" %%% " scalatags" % " 0.5.3 " ,
225+ libraryDependencies += " com.lihaoyi" %%% " scalatags" % " 0.6.5 " ,
226226 emitSourceMaps := false ,
227227 publishArtifact := false ,
228228 publishTo := Some (Resolver .file(" Unused transient repository" , file(" target/unusedrepo" )))
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ object DemoMain {
155155 for (track <- remaining) track.savedTicks += tillNext
156156 assert(remaining.exists(_.tillNext == 0 ))
157157 logs.append(" Sleeping:\t " + milliSleep + " ms" )
158- dom.setTimeout(() => tick(), milliSleep)
158+ dom.window. setTimeout(() => tick(), milliSleep)
159159 false
160160 }else {
161161 // `remaining` is empty, nothing left to continue playing,
You can’t perform that action at this time.
0 commit comments