From 6193e237ea4233d16449e1dc77bbcfb8217e97ad Mon Sep 17 00:00:00 2001 From: mrefish Date: Mon, 15 Dec 2014 20:18:58 -0700 Subject: Update SemanticDifferences.scalatex Add whitespace after `,`. Update AdvancedTechniques.scalatex Fixes: * `widhet` to `widget` * `mousedown` to `mousemove` * `mousedown` to `mouseup` --- book/src/main/scalatex/book/indepth/AdvancedTechniques.scalatex | 4 ++-- book/src/main/scalatex/book/indepth/SemanticDifferences.scalatex | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/book/src/main/scalatex/book/indepth/AdvancedTechniques.scalatex b/book/src/main/scalatex/book/indepth/AdvancedTechniques.scalatex index d49728f..98dccc2 100644 --- a/book/src/main/scalatex/book/indepth/AdvancedTechniques.scalatex +++ b/book/src/main/scalatex/book/indepth/AdvancedTechniques.scalatex @@ -76,7 +76,7 @@ Scalatags requires that anything you want to embed in a Scalatags fragment be implicitly convertible to @hl.scala{Frag}; here we are providing one for any Scala.Rx @hl.scala{Rx[T]}s, as long as the @hl.scala{T} provided is itself convertible to a @hl.scala{Frag}. We call @hl.scala{r().render} to extract the "current" value of the @hl.scala{Rx}, and then set up an @hl.scala{Obs} that watches the @hl.scala{Rx}, replacing the previous value with the current one every time its value changes. @p - Now that the set-up is out of the way, let's consider a simple HTML widhet that lets you enter text in a @hl.html{