Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit afb072d

Browse files
Bugfix
1 parent 564e07d commit afb072d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var ${0}
1616

1717
#### `v=⇥` var assignment
1818
```javascript
19-
var ${0:name} = ${1:value};
19+
var ${1:name} = ${2:value};
2020
```
2121

2222
#### `l⇥` let statement
@@ -26,12 +26,12 @@ let ${0}
2626

2727
#### `l=⇥` let assignment
2828
```javascript
29-
let ${0:name} = ${1:value};
29+
let ${1:name} = ${2:value};
3030
```
3131

3232
#### `dl=⇥` destructuring let assignment
3333
```javascript
34-
let {${0:name}} = ${1:value};
34+
let {${1:name}} = ${2:value};
3535
```
3636

3737
#### `co⇥` const statement
@@ -41,12 +41,12 @@ const ${0}
4141

4242
#### `co=⇥` const assignment
4343
```javascript
44-
const ${0:name} = ${1:value};
44+
const ${1:name} = ${2:value};
4545
```
4646

4747
#### `dco=⇥` destructuring const assignment
4848
```javascript
49-
const {${0:name}} = ${1:value};
49+
const {${1:name}} = ${2:value};
5050
```
5151

5252
### Flow Control

‎snippets/snippets.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,31 @@
66
},
77
"var assignment": {
88
"prefix": "v=",
9-
"body": "var ${0:name} = ${1:value};"
9+
"body": "var ${1:name} = ${2:value};"
1010
},
1111
"let statement": {
1212
"prefix": "l",
1313
"body": "let ${0}"
1414
},
1515
"let assignment": {
1616
"prefix": "l=",
17-
"body": "let ${0:name} = ${1:value};"
17+
"body": "let ${1:name} = ${2:value};"
1818
},
1919
"destructuring let assignment": {
2020
"prefix": "dl=",
21-
"body": "let {${0:name}} = ${1:value};"
21+
"body": "let {${1:name}} = ${2:value};"
2222
},
2323
"const statement": {
2424
"prefix": "co",
2525
"body": "const ${0}"
2626
},
2727
"const assignment": {
2828
"prefix": "co=",
29-
"body": "const ${0:name} = ${1:value};"
29+
"body": "const ${1:name} = ${2:value};"
3030
},
3131
"destructuring const assignment": {
3232
"prefix": "dco=",
33-
"body": "const {${0:name}} = ${1:value};"
33+
"body": "const {${1:name}} = ${2:value};"
3434
},
3535
// Flow Control
3636
"if statement": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /