diff options
author | Li Haoyi <haoyi@dropbox.com> | 2014-11-10 22:51:49 -0800 |
---|---|---|
committer | Li Haoyi <haoyi@dropbox.com> | 2014-11-10 22:51:49 -0800 |
commit | 7903f44bfb61d292e497fb40ac8a36ba03cedb2a (patch) | |
tree | f768813f144c7b1a8733c6dcc0deb92e4b110837 /book/src/main/scalatex/book/handson/ClientServer.scalatex | |
parent | ebdba5a49e6c1be8d271752d1d546142c37453a9 (diff) | |
download | hands-on-scala-js-7903f44bfb61d292e497fb40ac8a36ba03cedb2a.tar.gz hands-on-scala-js-7903f44bfb61d292e497fb40ac8a36ba03cedb2a.tar.bz2 hands-on-scala-js-7903f44bfb61d292e497fb40ac8a36ba03cedb2a.zip |
Fixed up table CSS, standardized tables, standardized links
Diffstat (limited to 'book/src/main/scalatex/book/handson/ClientServer.scalatex')
-rw-r--r-- | book/src/main/scalatex/book/handson/ClientServer.scalatex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/main/scalatex/book/handson/ClientServer.scalatex b/book/src/main/scalatex/book/handson/ClientServer.scalatex index 771dbde..29b253d 100644 --- a/book/src/main/scalatex/book/handson/ClientServer.scalatex +++ b/book/src/main/scalatex/book/handson/ClientServer.scalatex @@ -48,7 +48,7 @@ @hl.ref("examples/crossBuilds/clientserver/server/src/main/scala/simple/Server.scala") @p - This is a not-very-interesting @a("spray-routing", href:="http://spray.io/documentation/1.2.2/spray-routing/") application: we set up a server on @code{localhost:8080}, have the root URL serve the main page on GET, and have other GET URLs serve resources. This includes the @code{js-fastopt.js} file that is now in our resources because of our @code{build.sbt} config earlier! We also add a POST route to allow the client ask the server to list files various directories. + This is a not-very-interesting @lnk("spray-routing", "http://spray.io/documentation/1.2.2/spray-routing/") application: we set up a server on @code{localhost:8080}, have the root URL serve the main page on GET, and have other GET URLs serve resources. This includes the @code{js-fastopt.js} file that is now in our resources because of our @code{build.sbt} config earlier! We also add a POST route to allow the client ask the server to list files various directories. @p The HTML template @hl.scala{Page.skeleton} is not shown above; I put it in a separate file for neatness: |