Skip to content

Commit 70f7b4c

Browse files
committed
Renaming and clean up.
1 parent 796e71c commit 70f7b4c

12 files changed

Lines changed: 66 additions & 261 deletions

File tree

File renamed without changes.
File renamed without changes.

‎doc/index.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# JavaScript Garden
2+
3+
- [Intro](#intro)
4+
- [Objects](#objects)
5+
- [`hasOwnProperty`](#hasownproperty)
6+
- [The For In Loop](#forinloop)
7+
- [Arrays](#arrays)
8+
- [The `Array` Constructor](#arrayctor)
9+
- [Functions and Statements](#functions)
10+
- [Closures and References](#closures)
11+
- [Function Arguments](#arguments)
12+
- [Scopes and Namespaces](#scopes)
13+
- [How `this` works](#this)
14+
- [Constructors](#constructors)
15+
- [The `typeof` Operator](#typeof)
16+
- [The `instanceof` Operator](#instanceof)
17+
- [Equality and Comparisions](#equality)
18+
- [`undefined` and `null`](#undefined)
19+
- [Type Casting](#casting)
20+
- [Automatic Semicolon Insertion](#semicolon)
21+
- [`setTimeout` and `setInterval`](#timeouts)
22+

index.md renamed to doc/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# JavaScript Garden
1+
# Intro
22

33
**JavaScript Garden** is a growing collection of documentation about the most
44
quirky parts of the JavaScript. It gives advice to avoid common coding
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### `null` and `undefined`
1+
### `undefined` and `null`
22

33
JavaScript has two distinct values for "nothing", the more useful of those two
44
being `undefined`.

‎footer.md‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎html/template.html‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head class="html5reset-bare-bones">
4+
<meta charset="utf-8">
5+
<!--[if IE]><![endif]-->
6+
<title>{title}</title>
7+
8+
<meta name="description" content="{description}">
9+
<link rel="stylesheet" href="_/css/main.css">
10+
<link rel="stylesheet" href="_/css/_print/main.css" media="print">
11+
12+
<!--[if IE]>
13+
<link rel="stylesheet" href="_/css/_patches/win-ie-all.css">
14+
<![endif]-->
15+
<!--[if IE 7]>
16+
<link rel="stylesheet" href="_/css/_patches/win-ie7.css">
17+
<![endif]-->
18+
<!--[if lt IE 7]>
19+
<link rel="stylesheet" href="_/css/_patches/win-ie-old.css">
20+
<![endif]-->
21+
22+
<link rel="stylesheet" href="/css/garden.css" type="text/css" media="screen" charset="utf-8">
23+
</head>
24+
25+
<body>
26+
<div>
27+
<header>
28+
{intro}
29+
</header>
30+
<nav>
31+
<h1>{title}</h1>
32+
{navigation}
33+
</nav>
34+
35+
{articles}
36+
<footer>
37+
Copyright (c) 2010 Ivo Wetzel.
38+
</footer>
39+
</div>
40+
</body>
41+
</html>
42+

‎nav.md‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

‎template/garden.css‎

Lines changed: 0 additions & 221 deletions
This file was deleted.

0 commit comments

Comments
 (0)