Skip to content

Commit 797f86f

Browse files
committed
Finished new docs for ES6 snippets.
1 parent 3be6893 commit 797f86f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,15 @@ Enjoy :D
4444
**seto → setTimeout**
4545
![setTimeout snippet](./docs/seto.gif)
4646

47-
|`npro→`|`new Promise((${1:resolve}, ${2:reject}) => )`|
48-
|`catch→`|`catch() with nested annonymous function`|
49-
|`then→`|`then() with nested annonymous function`|
47+
**npro → new Promise**
48+
![npro snippet](./docs/npro.gif)
49+
50+
**catch → catch() with nested annonymous function**
51+
![catch method snippet](./docs/catch.gif)
52+
53+
**then →then() with nested annonymous function**
54+
![then function snippet](./docs/then.gif)
55+
5056

5157
## React
5258

docs/catch.gif

134 KB
Loading

docs/then.gif

56.6 KB
Loading

0 commit comments

Comments
 (0)