Skip to content

Commit e13d8a4

Browse files
committed
removed express snippets and some return snippets
1 parent 09b39c9 commit e13d8a4

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -396,16 +396,6 @@ return true
396396
return false
397397
```
398398

399-
#### `r0⇥` return 0
400-
```js
401-
return 0
402-
```
403-
404-
#### `r-1⇥` return -1
405-
```js
406-
return -1
407-
```
408-
409399
#### `rp⇥` return Promise (ES6)
410400
```js
411401
return new Promise((resolve, reject) => {
@@ -685,20 +675,6 @@ ${1:emitter}.on('${2:event}', (${3:arguments}) => {
685675
})
686676
```
687677

688-
#### `xm⇥` Express middleware
689-
```js
690-
function (req, res${1:, next}) {
691-
${0}
692-
}
693-
```
694-
695-
#### `xerr⇥` Express error handler
696-
```js
697-
function (err, req, res, next) {
698-
${0}
699-
}
700-
```
701-
702678
### Miscellaneous
703679

704680
#### `us⇥` use strict

0 commit comments

Comments
 (0)