Skip to content

Commit

Permalink
scalatags-rx 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rtimush committed Dec 19, 2016
1 parent 79f3a99 commit 588ba6b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import com.typesafe.sbt.SbtGit.git._

organization := "com.timushev"
name := "scalatags-rx"
version := "0.3.1"
version := "0.3.0"

version := {
(version.value, gitCurrentTags.value) match {
Expand Down
17 changes: 17 additions & 0 deletions notes/0.3.0.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Maintenance release targeted to Scala.Rx 0.3.2 compatibility.

Example:

val c = Var("blue")
val text = Rx(s"It is a ${c()} text!")

def toggle(): Unit = {
c() = if (c() == "blue") "green" else "blue"
}

document.body.appendChild(
div(
color := c, onclick := toggle _,
text
).render
)

0 comments on commit 588ba6b

Please sign in to comment.