summaryrefslogtreecommitdiff
path: root/book/src/main/scalatex/book/indepth/DesignSpace.scalatex
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2014-11-07 08:51:18 -0800
committerLi Haoyi <haoyi@dropbox.com>2014-11-07 08:51:18 -0800
commit00b8d7005e233bafced3467174e95cf6edb6eec1 (patch)
tree8d10038c70fe81e8c47e7b4e0ca95a51f956f410 /book/src/main/scalatex/book/indepth/DesignSpace.scalatex
parent75e505e6a433657cff28501f296605012e1e759a (diff)
downloadhands-on-scala-js-00b8d7005e233bafced3467174e95cf6edb6eec1.tar.gz
hands-on-scala-js-00b8d7005e233bafced3467174e95cf6edb6eec1.tar.bz2
hands-on-scala-js-00b8d7005e233bafced3467174e95cf6edb6eec1.zip
First flesh out of Semantic Differences
Diffstat (limited to 'book/src/main/scalatex/book/indepth/DesignSpace.scalatex')
-rw-r--r--book/src/main/scalatex/book/indepth/DesignSpace.scalatex2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/main/scalatex/book/indepth/DesignSpace.scalatex b/book/src/main/scalatex/book/indepth/DesignSpace.scalatex
index 14cc553..2a41c4c 100644
--- a/book/src/main/scalatex/book/indepth/DesignSpace.scalatex
+++ b/book/src/main/scalatex/book/indepth/DesignSpace.scalatex
@@ -129,7 +129,7 @@
TODO
@sect("Why Jars instead of RequireJS/CommonJS")
- @p
+ @p
In JVM-land, the standard method for distributing these libraries is as @a("Maven Artifacts", href:="http://stackoverflow.com/questions/2487485/what-is-maven-artifact"). These are typically published in a public location such as @a("Maven Central", href:="http://search.maven.org/"), where others can find and download them for use. Typically downloads are done automatically by the build-tool: in Scala-JVM typically this is SBT.
@p
In Javascript-land, there are multiple ways of acquiring dependencies: @a("CommonJS", href:="http://en.wikipedia.org/wiki/CommonJS") and @a("RequireJS/AMD", href:="http://requirejs.org/") are two competing standards with a host of implementations. Historically, a third approach has been most common: the developer would simply download the modules himself, check it into source-control and manually add a @hl.html{<script>} tag to the HTML page that will make the functionality available through some global variable.