diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2015-04-24 09:55:38 -0700 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2015-04-24 09:55:38 -0700 |
commit | 1c871406fdd08157e70fe4dfe2f59c517f7d0357 (patch) | |
tree | 494ce288228c5b3cf82a3a2e27b0cc078e55663e /example/build.sbt | |
parent | 0fae432ed016499aa1e290a3518fcd7ca5d91832 (diff) | |
parent | cdef282f9eb5a45d41228e4764a184df98bbb337 (diff) | |
download | workbench-1c871406fdd08157e70fe4dfe2f59c517f7d0357.tar.gz workbench-1c871406fdd08157e70fe4dfe2f59c517f7d0357.tar.bz2 workbench-1c871406fdd08157e70fe4dfe2f59c517f7d0357.zip |
Merge pull request #20 from nightscape/update_scala_js
First shot at updating Scala.js
Diffstat (limited to 'example/build.sbt')
-rw-r--r-- | example/build.sbt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/example/build.sbt b/example/build.sbt index 0bca703..fed07bd 100644 --- a/example/build.sbt +++ b/example/build.sbt @@ -1,9 +1,7 @@ -// Turn this project into a Scala.js project by importing these settings -import scala.scalajs.sbtplugin.ScalaJSPlugin._ -import ScalaJSKeys._ import com.lihaoyi.workbench.Plugin._ -scalaJSSettings +// Turn this project into a Scala.js project by importing these settings +enablePlugins(ScalaJSPlugin) workbenchSettings @@ -16,12 +14,12 @@ version := "0.1-SNAPSHOT" resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" libraryDependencies ++= Seq( - "org.scala-lang.modules.scalajs" %%% "scalajs-dom" % "0.6" + "org.scala-js" %%% "scalajs-dom" % "0.8.0" ) bootSnippet := "ScalaJSExample().main();" -ScalaJSKeys.inliningMode := scala.scalajs.sbtplugin.InliningMode.Off +disableOptimizer := true -spliceBrowsers <<= spliceBrowsers.triggeredBy(ScalaJSKeys.fastOptJS in Compile) +spliceBrowsers <<= spliceBrowsers.triggeredBy(fastOptJS in Compile) |