From a17cf260d5ff475302921f8256d2c4f97327bcd9 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 5 Jan 2017 23:44:38 +0100 Subject: [PATCH 1/2] Updated destructing syntax in readme. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 394416b..3765c41 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ Below is a list of all available snippets and the triggers of each one. The ** | `fin→` | for ... in loop `for(let item in object) {}` | | `anfn→` | creates an anonymous function `(params) => {}` | | `nfn→` | creates a named function `const add = (params) => {}` | -| `dob→` | desctucting object syntax `const {rename} = fs` | -| `dar→` | desctucting array syntax `const [first, second] = [1,2]` | +| `dob→` | destructing object syntax `const {rename} = fs` | +| `dar→` | destructing array syntax `const [first, second] = [1,2]` | | `sti→` | set interval helper method `setInterval(() => {});` | | `sto→` | set timeout helper method `setTimeout(() => {});` | | `prom→` | creates a new Promise `return new Promise((resolve, reject) => {});`| From b7ccd4e9cb81edc9a24de33dd14b6c67cdeaaf7f Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 5 Jan 2017 23:45:20 +0100 Subject: [PATCH 2/2] Corrected a minor readme typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3765c41..d406803 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Below is a list of all available snippets and the triggers of each one. The ** ### Console methods | Trigger | Content | | -------: | ------- | -| `cas→` | console allert method `console.assert(expression, object)`| +| `cas→` | console alert method `console.assert(expression, object)`| | `ccl→` | console clear `console.clear()` | | `cco→` | console count `console.count(label)` | | `cdi→` | console dir `console.dir` |