--
You received this message because you are subscribed to the Google Groups "Scala.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/459766ba-c4c9-4e5e-ad59-d8c3ef862692%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
scalajs-jquery is already published. See https://github.com/scala-js/scalajs-tutorial/commit/847e9ab204a88166b7c16aa086821354476e8a16 for the coordinates.
Cheers,
Sébastien
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/489a7c9e-d69f-4695-a858-7947293dcdba%40googlegroups.com.
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.0-M3")
addSbtPlugin("com.lihaoyi" % "utest-js-plugin" % "0.2.5-M3")
import sbt.Keys._
import sbt._
import utest.jsrunner.Plugin.internal._
import org.scalajs.sbtplugin.ScalaJSPlugin
import org.scalajs.sbtplugin.ScalaJSPlugin.autoImport._
import org.scalajs.jsenv.phantomjs.PhantomJSEnv
object Build extends sbt.Build {
lazy val `scalajs-rx-idb` =
project.in(file("."))
.enablePlugins(ScalaJSPlugin)
.settings(utestJsSettings:_*)
.settings(
organization := "com.viagraphs",
name := "scalajs-rx-idb",
version := "0.0.6-SNAPSHOT",
scalaVersion := "2.11.4",
scalacOptions ++= Seq(
"-unchecked", "-deprecation", "-feature", "-Xfatal-warnings",
"-Xlint", "-Xfuture",
"-Yinline-warnings", "-Ywarn-adapted-args", "-Ywarn-inaccessible",
"-Ywarn-nullary-override", "-Ywarn-nullary-unit", "-Yno-adapted-args"
),
libraryDependencies ++= Seq(
"org.scala-js" %%% "scalajs-dom" % "0.7.1-SNAPSHOT",
"org.monifu" %%% "monifu" % "0.1-SNAPSHOT",
"com.lihaoyi" %%% "upickle" % "0.2.6-M3",
"com.lihaoyi" %%% "utest" % "0.2.5-M3" % "test"
),
autoAPIMappings := true,
requiresDOM := true,
scalaJSStage := FastOptStage,
persistLauncher in Test := false,
postLinkJSEnv in Test := new PhantomJSEnv(autoExit = true)
)
}
Hi,
Remove the sbt plugin of uTest, and the postLinkJSEnv setting. The former is not needed anymore, and the latter is implied by `requiresDOM := true`.
The issue comes from postLinkJSEnv, which must be set differently now if you really need it.
I won't expand right now because I'm on mobile.
Cheers,
Sébastien
--
You received this message because you are subscribed to the Google Groups "Scala.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/c3b8405a-3178-464f-b2db-96290a834bf7%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Scala.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CAJwkOg6xFdc-yyyFaZh3jKRsnC6RkPSZeLfd50XbaFcRoocnqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
The RC should be available in a week or two. Then a couple more weeks until the final, I suppose.
Cheers,
Sébastien
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CAN9KCotB6B8O6mAT3XkOLqAkBx30eP3%2Bc6Q_9AQ8oVBemOOraQ%40mail.gmail.com.
What kind of logging are you hoping for?
Sébastien
--
You received this message because you are subscribed to the Google Groups "Scala.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-js+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/8345ba34-c78f-4f60-a1ce-2f3d642993f6%40googlegroups.com.
Normally you get the stack trace from the event loop up to the exception. For a callback invoked by the event loop, that means you get nothing. Async stuff on the JVM behaves in the same way.
Cheers,
Sébastien
This is a real problem for debugging. For reactive apps it effectively means you have no idea what went wrong.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CAJwkOg7OuXXFJgt24wC%2B6X9SGyGNov7KfR1Kv%2BPqpY8wOcBJ4w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CAHQS_eycPi-WuOo7aoqHaVEZ0GcBY4MAcgmPNWzD7YdTgmwyqA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-js/CAO26FW3__PW5NGWcUD8mTOfMFetMcPmMAG%3DJANWC%3DaNXOFFV9w%40mail.gmail.com.
of the rx/future code is pure, one solution is to run it full speed until there is s failure and then run again collecting full traces.
Matthew
What if you make it a thunk () => Array[StackTraceElement]? That way you wouldn't pay for it unless you really asked for it. Though you'd still be keeping a bunch of stuff in memory and possible preventing GC.