Skip to content

Commit a2dfb38

Browse files
committed
update some additional files from upstream
1 parent b17b7a0 commit a2dfb38

File tree

6 files changed

+49
-13
lines changed

6 files changed

+49
-13
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* text=auto eol=lf
2+
*.svg binary

AUTHORING.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
# Authoring
3+
4+
This describes important stuff about authoring new articles of the tutorial.
5+
6+
## Internal links
7+
8+
All tutorial links should start from the root, not including the domain.
9+
10+
✅ OK:
11+
12+
```md
13+
We'll cover that in the chapter [about functions](/function-basics)
14+
```
15+
16+
❌ Not ok:
17+
18+
```md
19+
We'll cover that in the chapter [about functions](https://javascript.info/function-basics)
20+
```
21+
22+
Also, to reference a chapter, there's a special "info:" scheme, like this:
23+
24+
```md
25+
We'll cover that in the chapter <info:function-basics>.
26+
```
27+
28+
Becomes:
29+
```html
30+
We'll cover that in the chapter <a href="/function-basics">Function basics</a>.
31+
```
32+
33+
The title is auto-inserted from the referenced article. That has the benefit of keeping the right title if the article gets renamed.
34+
35+
## TODO
36+
37+
Ask @iliakan to for more details.

contributors.md

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

css.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
# CSS for JS developers
3+
4+
- Outline

figures.sketch

3.97 MB
Binary file not shown.

todo.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
- Drag events
3+
- History api
4+
- Pointer events
5+
- Touch events
6+
- Canvas (2d graphics)
7+
- Security (xsrf xss csp etc)

0 commit comments

Comments
 (0)