|
1 | 1 | module.exports = { |
2 | | - "[ember] #each": { |
| 2 | + "#each": { |
3 | 3 | "prefix": "each", |
4 | 4 | "body": "{{#each ${1} as |${2}|}}\n\t${3}\n{{/each}}", |
5 | 5 | "description": "The {{#each}} helper loops over elements in a collection." |
6 | 6 | }, |
7 | | - "[ember] #each-in": { |
| 7 | + "#each-in": { |
8 | 8 | "prefix": "each-in", |
9 | 9 | "body": "{{#each-in ${1} as |${2} ${3}|}}\n\t${4}\n{{/each-in}}", |
10 | 10 | "description": "The {{each-in}} helper loops over properties on an object." |
11 | 11 | }, |
12 | | - "[ember] #each/else": { |
| 12 | + "#each/else": { |
13 | 13 | "prefix": "eachelse", |
14 | 14 | "body": "{{#each ${1} as |${2}|}}\n\t${3}\n{{else}}\n\t${4}\n{{/each}}", |
15 | 15 | "description": "The {{#each}} helper loops over elements in a collection." |
16 | 16 | }, |
17 | | - "[ember] #if hasBlock": { |
| 17 | + "#if hasBlock": { |
18 | 18 | "prefix": "ifhasBlock", |
19 | 19 | "body": "{{#if (hasBlock)}}\n\t${1}\n{{/if}}", |
20 | 20 | "description": "Indicates if the component was invoked with a block." |
21 | 21 | }, |
22 | | - "[ember] #if hasBlockParams": { |
| 22 | + "#if hasBlockParams": { |
23 | 23 | "prefix": "ifhasBlockParams", |
24 | 24 | "body": "{{#if (hasBlockParams)}}\n\t${1}\n{{/if}}", |
25 | 25 | "description": "Indicates if the component was invoked with block params." |
26 | 26 | }, |
27 | | - "[ember] if": { |
| 27 | + "if": { |
28 | 28 | "prefix": "if", |
29 | 29 | "body": "{{if ${1} ${2} ${3}}}", |
30 | 30 | "description": "The if helper allows you to conditionally render one of two branches, depending on the 'truthiness' of a property." |
31 | 31 | }, |
32 | | - "[ember] #if": { |
| 32 | + "#if": { |
33 | 33 | "prefix": "if", |
34 | 34 | "body": "{{#if ${1}}}\n\t${3}\n{{/if}}", |
35 | 35 | "description": "The if helper allows you to conditionally render one of two branches, depending on the 'truthiness' of a property." |
36 | 36 | }, |
37 | | - "[ember] #if/else": { |
| 37 | + "#if/else": { |
38 | 38 | "prefix": "if", |
39 | 39 | "body": "{{#if ${1}}}\n\t${2}\n{{else}}\n\t${3}\n{{/if}}", |
40 | 40 | "description": "The if helper allows you to conditionally render one of two branches, depending on the 'truthiness' of a property." |
41 | 41 | }, |
42 | | - "[ember] unless": { |
| 42 | + "unless": { |
43 | 43 | "prefix": "unless", |
44 | 44 | "body": "{{unless ${1} ${2} ${3}}}", |
45 | | - "description": "[ember] unless" |
| 45 | + "description": "unless" |
46 | 46 | }, |
47 | | - "[ember] else": { |
| 47 | + "else": { |
48 | 48 | "prefix": "else", |
49 | 49 | "body": "{{else}}", |
50 | | - "description": "[ember] else" |
| 50 | + "description": "else" |
51 | 51 | }, |
52 | | - "[ember] #unless": { |
| 52 | + "#unless": { |
53 | 53 | "prefix": "unless", |
54 | 54 | "body": "{{#unless ${1}}}\n\t${2}\n{{/unless}}", |
55 | 55 | "description": "The unless helper is the inverse of the if helper. It displays if a value is falsey (\"not true\" or \"is false\"). " |
56 | 56 | }, |
57 | | - "[ember] #unless/else": { |
| 57 | + "#unless/else": { |
58 | 58 | "prefix": "unless", |
59 | 59 | "body": "{{#unless ${1}}}\n\t${2}\n{{else}}\n\t${3}\n{{/unless}}", |
60 | 60 | "description": "The unless helper is the inverse of the if helper. It displays if a value is falsey (\"not true\" or \"is false\"). " |
61 | 61 | }, |
62 | | - "[ember] with": { |
| 62 | + "with": { |
63 | 63 | "prefix": "with", |
64 | 64 | "body": "{{#with ${1} as |${2}|}}\n\t${3}\n{{/with}}", |
65 | | - "description": "[ember] with" |
| 65 | + "description": "with" |
66 | 66 | }, |
67 | | - "[ember] log": { |
| 67 | + "log": { |
68 | 68 | "prefix": "log", |
69 | 69 | "body": "{{log ${1}}}", |
70 | 70 | "description": "log allows you to output the value of variables in the current rendering context. log also accepts primitive types such as strings or numbers." |
71 | 71 | }, |
72 | | - "[ember] yield": { |
| 72 | + "yield": { |
73 | 73 | "prefix": "yield", |
74 | 74 | "body": "{{yield}}", |
75 | 75 | "description": "{{yield}} denotes an area of a template that will be rendered inside of another template." |
|
0 commit comments