From 7924069976b15ee0c535221673d89200ce3d5570 Mon Sep 17 00:00:00 2001 From: lihaoyi Date: Sun, 23 Nov 2014 20:33:33 -0800 Subject: Packaged resources --- book/src/main/scalatex/book/handson/WebPage.scalatex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'book/src/main/scalatex/book/handson/WebPage.scalatex') diff --git a/book/src/main/scalatex/book/handson/WebPage.scalatex b/book/src/main/scalatex/book/handson/WebPage.scalatex index 58fceb1..1056460 100644 --- a/book/src/main/scalatex/book/handson/WebPage.scalatex +++ b/book/src/main/scalatex/book/handson/WebPage.scalatex @@ -159,7 +159,7 @@ @li @hl.scala("=>") v.s. @hl.javascript{function} to define the callback. @li - Scalatags' @hl.scala{pre} v.s. @hl.javascript{document.createElement} + Scalatags' @hl.scala{pre} v.s. @hl.javascript{document.createElement("pre")} @p Overall, they're pretty close, which is a common theme in Scala.js: using Javascript APIs in Scala.js is often as seamless and easy as using them in Javascript itself, and it often looks almost identical. -- cgit v1.2.3