forked from marijnh/Eloquent-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchapter.html
More file actions
39 lines (34 loc) · 1.66 KB
/
chapter.html
File metadata and controls
39 lines (34 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!doctype html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><<t $in.title>> :: Eloquent JavaScript</title>
<link rel=stylesheet href="js/node_modules/codemirror/lib/codemirror.css">
<script src="js/acorn_codemirror.js"></script>
<link rel=stylesheet href="css/ejs.css">
<script src="js/sandbox.js"></script>
<script src="js/ejs.js"></script>
<<if $in.chap_num || $in.load_files>>
<script>
<<if $in.chap_num>>var chapNum = <<h $in.chap_num>>;<</if>>
<<if $in.load_files>>var sandboxLoadFiles = <<h JSON.stringify($in.load_files)>>;<</if>>
</script>
<</if>>
</head>
<div style="background: #ffb; border-bottom: 1px solid silver; padding: 6px 4em; text-align: center">
This is a draft of Eloquent JavaScript's 3rd edition. Thanks for taking a look! If you spot a problem, please <a href="mailto:marijnh@gmail.com">email me</a> or <a href="https://github.com/marijnh/Eloquent-JavaScript/issues">open an issue</a>.
</div>
<article>
<nav>
<<if $in.prev_link>><a href="<<t $in.prev_link>>.html" title="previous chapter">◀</a> <</if>>
<a href="index.html" title="cover">◆</a>
<<if $in.next_link>> <a href="<<t $in.next_link>>.html" title="next chapter">▶</a><</if>>
</nav>
<h1<<if $in.id>> id="<<t $in.id>>"<</if>>><<if $in.chap_num>><div class=chap_num>Chapter <<t $in.chap_num>></div><</if>><<t $in.title>></h1>
<<h $in.content>>
<nav>
<<if $in.prev_link>><a href="<<t $in.prev_link>>.html" title="previous chapter">◀</a> <</if>>
<a href="index.html" title="cover">◆</a>
<<if $in.next_link>> <a href="<<t $in.next_link>>.html" title="next chapter">▶</a><</if>>
</nav>
</article>