Skip to content

Commit 5d391cc

Browse files
committed
Update readme after merging PR and increase version to publish
1 parent 4e9198e commit 5d391cc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Below is a list of all available snippets and the triggers of each one. The **
5959
| `sti→` | set interval helper method `setInterval(() => {});` |
6060
| `sto→` | set timeout helper method `setTimeout(() => {});` |
6161
| `prom→` | creates a new Promise `return new Promise((resolve, reject) => {});`|
62+
| `thenCatch→`| adds then and catch declaration to a promise `.then((res) => {).catch((err) => {});`|
6263

6364
### Console methods
6465
| Trigger | Content |
@@ -71,6 +72,7 @@ Below is a list of all available snippets and the triggers of each one. The **
7172
| `cgr→` | console group `console.group(label)` |
7273
| `cge→` | console groupEnd `console.groupEnd()` |
7374
| `clg→` | console log `console.log(object)` |
75+
| `clo→` | console log object with name `console.log('object :', object);` |
7476
| `ctr→` | console trace `console.trace(object)` |
7577
| `cwa→` | console warn `console.warn` |
7678
| `cin→` | console info `console.info` |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "JavaScriptSnippets",
33
"description": "Code snippets for JavaScript in ES6 syntax",
4-
"version": "1.5.0",
4+
"version": "1.6.0",
55
"displayName": "JavaScript (ES6) code snippets",
66
"publisher": "xabikos",
77
"icon": "images/javascript.png",

0 commit comments

Comments
 (0)