|
1 | 1 | module.exports = {
|
2 |
| - "Route": { |
3 |
| - "prefix": "route", |
4 |
| - "body": "import classic from 'ember-classic-decorator';\nimport Route from '@ember/routing/route';\n\n@classic\nclass ${1}Route extends Route {\n\t${2}\n}\n\nexport default ${1}Route;" |
| 2 | + Route: { |
| 3 | + prefix: "route", |
| 4 | + body: "import classic from 'ember-classic-decorator';\nimport Route from '@ember/routing/route';\n\n@classic\nclass ${1}Route extends Route {\n\t${2}\n}\n\nexport default ${1}Route;", |
5 | 5 | },
|
6 |
| - "Controller": { |
7 |
| - "prefix": "controller", |
8 |
| - "body": "import classic from 'ember-classic-decorator';\nimport Controller from '@ember/controller';\n\n@classic\nclass ${1}Controller extends Controller {\n\t${2}\n}\n\nexport default ${1}Controller;" |
| 6 | + Controller: { |
| 7 | + prefix: "controller", |
| 8 | + body: "import classic from 'ember-classic-decorator';\nimport Controller from '@ember/controller';\n\n@classic\nclass ${1}Controller extends Controller {\n\t${2}\n}\n\nexport default ${1}Controller;", |
9 | 9 | },
|
10 |
| - "Service": { |
11 |
| - "prefix": "service", |
12 |
| - "body": "import classic from 'ember-classic-decorator';\nimport Service from '@ember/service';\n\n@classic\nclass ${1}Service extends Service {\n\t${2}\n}\n\nexport default ${1}Service;" |
| 10 | + Service: { |
| 11 | + prefix: "service", |
| 12 | + body: "import classic from 'ember-classic-decorator';\nimport Service from '@ember/service';\n\n@classic\nclass ${1}Service extends Service {\n\t${2}\n}\n\nexport default ${1}Service;", |
13 | 13 | },
|
14 | 14 | "Glimmer Component": {
|
15 |
| - "prefix": "component", |
16 |
| - "body": "import Component from '@glimmer/component';\n\nclass ${1}Component extends Component {\n\t${2}\n}\n\nexport default ${1}Component;" |
| 15 | + prefix: "component", |
| 16 | + body: "import Component from '@glimmer/component';\n\nexport default class ${1}Component extends Component {\n\t${2}\n}", |
17 | 17 | },
|
18 | 18 | "Classic Component": {
|
19 |
| - "prefix": "component", |
20 |
| - "body": "import classic from 'ember-classic-decorator';\nimport Component from '@ember/component';\n\n@classic\nclass ${1}Component extends Component {\n\ttagName = '';\n}\n\nexport default ${1}Component;" |
| 19 | + prefix: "component", |
| 20 | + body: "import classic from 'ember-classic-decorator';\nimport Component from '@ember/component';\n\n@classic\nclass ${1}Component extends Component {\n\ttagName = '';\n}\n\nexport default ${1}Component;", |
21 | 21 | },
|
22 |
| - "Mixin": { |
23 |
| - "prefix": "mixin", |
24 |
| - "body": "import classic from 'ember-classic-decorator';\nimport Mixin from '@ember/object/mixin';\n\n@classic\nclass ${1}Mixin extends Mixin {\n\t${2}\n}\n\nexport default ${1}Mixin;" |
| 22 | + Mixin: { |
| 23 | + prefix: "mixin", |
| 24 | + body: "import classic from 'ember-classic-decorator';\nimport Mixin from '@ember/object/mixin';\n\n@classic\nclass ${1}Mixin extends Mixin {\n\t${2}\n}\n\nexport default ${1}Mixin;", |
25 | 25 | },
|
26 |
| - "Object": { |
27 |
| - "prefix": "object", |
28 |
| - "body": "import classic from 'ember-classic-decorator';\nimport EmberObject from '@ember/object';\n\n@classic\nclass ${1} extends EmberObject {\n\t${2}\n}\n\nexport default ${1};" |
| 26 | + Object: { |
| 27 | + prefix: "object", |
| 28 | + body: "import classic from 'ember-classic-decorator';\nimport EmberObject from '@ember/object';\n\n@classic\nclass ${1} extends EmberObject {\n\t${2}\n}\n\nexport default ${1};", |
| 29 | + }, |
| 30 | + Helper: { |
| 31 | + prefix: "helper", |
| 32 | + body: "import classic from 'ember-classic-decorator';\nimport Helper from '@ember/component/helper';\n\n@classic\nclass ${1}Helper extends Helper {\n\tcompute() {\n\t\t${2}\n\t}\n}\n\nexport default ${1}Helper;", |
29 | 33 | },
|
30 |
| - "Helper": { |
31 |
| - "prefix": "helper", |
32 |
| - "body": "import classic from 'ember-classic-decorator';\nimport Helper from '@ember/component/helper';\n\n@classic\nclass ${1}Helper extends Helper {\n\tcompute() {\n\t\t${2}\n\t}\n}\n\nexport default ${1}Helper;" |
33 |
| - } |
34 | 34 | };
|
0 commit comments