Skip to content

Commit

Permalink
Upgrading to latest Scala.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fancellu committed Sep 24, 2016
1 parent 6f7ff92 commit c6fc414
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions core/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name := "scalajs-flot"

description := "Scala.js+Flot examples"

version := "0.3"
version := "0.4"

scalaVersion := "2.11.7"
scalaVersion := "2.11.8"

libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.8.2",
"be.doeraene" %%% "scalajs-jquery" % "0.8.1"
"org.scala-js" %%% "scalajs-dom" % "0.9.1",
"be.doeraene" %%% "scalajs-jquery" % "0.9.0"
)

publishArtifact in packageDoc:= false
Expand Down
2 changes: 1 addition & 1 deletion example/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ workbenchSettings

bootSnippet := "example.T1().main(document.getElementById('mydiv'));"

scalaVersion := "2.11.7"
scalaVersion := "2.11.8"

publishArtifact:= false
2 changes: 1 addition & 1 deletion example/src/main/resources/realtime-dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<p>Realtime demo</p>
<div id="placeholder" style="width:1000px;height:400px"></div>
<script type="text/javascript" src="../scala-js-flot-examples-fastopt.js"></script>
<script type="text/javascript" src="../example-fastopt.js"></script>
<script>

<!-- flot end -->
Expand Down
2 changes: 1 addition & 1 deletion example/src/main/resources/time1-dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<p>Time1 demo: Weather forecast for London</p>
<div id="placeholder" style="width:1000px;height:400px"></div>
<script type="text/javascript" src="../scala-js-flot-examples-fastopt.js"></script>
<script type="text/javascript" src="../example-fastopt.js"></script>
<script>

<!-- flot end -->
Expand Down
2 changes: 1 addition & 1 deletion example/src/main/scala/example/RealTime.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ object RealTime extends {
currentPlot.draw()
}

dom.setInterval(run _, 100)
dom.window.setInterval(run _, 100)
}
}
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.5")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.12")

addSbtPlugin("com.lihaoyi" % "workbench" % "0.2.3")

0 comments on commit c6fc414

Please sign in to comment.