summaryrefslogtreecommitdiff
path: root/book/src/main/scalatex/Index.scalatex
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2015-03-28 22:16:57 +0800
committerLi Haoyi <haoyi@dropbox.com>2015-03-28 22:16:57 +0800
commit1ac4a2594bf2ebe1fc80b93f1208343653892517 (patch)
tree7f07cee1d4e6a608853c6f862550675165b78dfb /book/src/main/scalatex/Index.scalatex
parent7006cebd061784900233c405ce03665151b86010 (diff)
downloadhands-on-scala-js-1ac4a2594bf2ebe1fc80b93f1208343653892517.tar.gz
hands-on-scala-js-1ac4a2594bf2ebe1fc80b93f1208343653892517.tar.bz2
hands-on-scala-js-1ac4a2594bf2ebe1fc80b93f1208343653892517.zip
scalatex 0.2.1
Diffstat (limited to 'book/src/main/scalatex/Index.scalatex')
-rw-r--r--book/src/main/scalatex/Index.scalatex2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/main/scalatex/Index.scalatex b/book/src/main/scalatex/Index.scalatex
index e9f65bb..72f9668 100644
--- a/book/src/main/scalatex/Index.scalatex
+++ b/book/src/main/scalatex/Index.scalatex
@@ -12,7 +12,7 @@ is a set of detailed expositions on various parts of the Scala.js platform. Noth
@hl.ref(wd/'examples/'demos/'src/'main/'scala/"Splash.scala", "var x")
@less
- @BookData.example(canvas, "Splash().main")
+ @example(canvas, "Splash().main")
@p
@lnk("Scala.js", "http://www.scala-js.org/") is a compiler that compiles Scala source code to equivalent Javascript code. That lets you write Scala code that you can run in a web browser, or other environments (Chrome plugins, Node.js, etc.) where Javascript is supported. This book is an introduction to Scala.js, which aims to get you from knowing-nothing about it to being relatively proficient.