Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The second edition of Eloquent JavaScript
branch: master
Failed to load latest commit information.
bin Integrate proofreading for Chapter 9
code Fix argument list for methods.MKCOL in promise-base file server
epub Fix a few epub issues
html Fix parentheses in Egg example in Chapter 11
img Show sponsor logos on front page
nostarch Use a narrower arrow character in No Starch output
pdf Add a book_mobile.pdf build target that builds a smaller, margin-less…
.gitignore Ignore book_mobile files in .gitignore
00_intro.txt Integrate proofreading changes for chapter 0
01_values.txt Integrate proofreading edits for Chapter 1
02_program_structure.txt Integrate proofreading for Chapter 9
03_functions.txt Integrate proofreading for Chapter 5
04_data.txt Integrate proofreading for Chapter 5
05_higher_order.txt Integrate proofreading for Chapter 5
06_object.txt Integrate proofreading for Chapter 15
07_elife.txt Integrate proofreading for Chapter 7
08_error.txt Integrate proofreading for Chapter 8
09_regexp.txt Integrate proofreading for Chapter 9
10_modules.txt Integrate proofreading for Chapter 10
11_language.txt Fix parentheses in Egg example in Chapter 11
12_browser.txt Integrate proofreading for Chapter 12
13_dom.txt Integrate proofreading for Chapter 13
14_event.txt Integrate proofreading for Chapter 14
15_game.txt Integrate proofreading for Chapter 15
16_canvas.txt Fix left/right confusion in Chapter 16
17_http.txt Integrate proofreading for Chapter 17
18_forms.txt Integrate proofreading for Chapter 18
19_paint.txt Slightly simplify some code in Chapter 19
20_node.txt Be explicit about converting a chunk to a string in Chapter 20
21_skillsharing.txt Make sure instantiateNode always returns a value in Chapter 21
Makefile Only reduce left and right margins for mobile pdf
README.md Add note about epub to README
asciidoc_epub.conf Fix broken interactive/book inline macros in asciidoc config
asciidoc_html.conf Fix broken interactive/book inline macros in asciidoc config
asciidoc_nostarch.conf Fix broken interactive/book inline macros in asciidoc config
asciidoc_pdf.conf Improve epub generation
package.json Add zip files for chapters that need background code

README.md

Eloquent JavaScript

These are the sources used to build the second edition of Eloquent JavaScript (http://eloquentjavascript.net).

Feedback welcome, in the form of issues and pull requests.

Building

npm install --production
apt-get install asciidoc inkscape
make html

For OSX, you can use port or brew to install the asciidoc package.

To build the PDF file:

apt-get install texlive texlive-xetex texlive-fonts-extra
make book.pdf

To build the ePub book:

make book.epub
Something went wrong with that request. Please try again.