Skip to content

Commit ec716b9

Browse files
committed
Fix decorators
1 parent 4ff6a59 commit ec716b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/javascript/ember/es6/decorators.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ module.exports = {
99
},
1010
"@observer": {
1111
"prefix": "@observer",
12-
"body": "@observer('${1:property}')\n${2}() {\n\t${3}\n}"
12+
"body": "@observer('${1:property}')"
1313
},
1414
"@on": {
1515
"prefix": "@on",
16-
"body": "@on('${1:property}')\n${2}() {\n\t${3}\n}"
16+
"body": "@on('${1:property}')"
1717
},
1818
"@computed": {
1919
"prefix": "@computed",
20-
"body": "@computed('${1:property}')\n${2}() {\n\t${3}\n})"
20+
"body": "@computed('${1:property}')"
2121
},
2222
"@action": {
2323
"prefix": "@action",
24-
"body": "@action\n${2}() {\n\t${3}\n}"
24+
"body": "@action"
2525
},
2626
"@alias()": {
2727
"prefix": "@alias",

0 commit comments

Comments
 (0)