Skip to content

Commit fcfa404

Browse files
committed
Fix readme typos
1 parent 3e5ed6a commit fcfa404

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

README.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="https://raw.githubusercontent.com/Exelord/ember-snippets/master/icon.png" alt="Ember Snippets Logo">
2+
<img src="https://raw.githubusercontent.com/Exelord/ember-snippets/master/icon.png" alt="Ember Snippets Logo">
33
</p>
44

55
# ember-snippets
@@ -9,11 +9,11 @@ All-in-one snippets for Ember apps. Forget about syntax, focus on development.
99
Supported editors:
1010
- vscode: https://marketplace.visualstudio.com/items?itemName=exelord.ember-snippets
1111

12-
**WARNING!** In most cases snippets are up-to-date which means they assumes you use latest Ember, Ember-data or any other addon with our snippets.
12+
**WARNING!** In most cases, snippets are up-to-date which means they assume you use the latest Ember, Ember-data or any other addon with our snippets.
1313

1414
## What's included?
1515

16-
Following snippets are just a selected subset. Full list avaialble in the code: `src/**/`
16+
Following snippets are just a selected subset. Full list available in the code: `src/**/`
1717

1818
### Ember Snippets
1919

@@ -38,77 +38,77 @@ run -> run(() => { });
3838
3939
computed ->
4040
computed('property', function() {
41-
// body
41+
// body
4242
}),
4343
4444
didDestroyElement ->
4545
didInsertElement() {
46-
this._super(...arguments);
47-
46+
this._super(...arguments);
47+
4848
},
4949
```
5050

5151
#### 3. Skeletons
52-
Forget about generators. Just use the skeletos for anything, eg:
52+
Forget about generators. Just use the skeletons for anything, eg:
5353
```
5454
component ->
5555
import Component from '@ember/component';
5656
5757
export default Component.extend({
58-
// body
58+
// body
5959
});
6060
6161
service ->
6262
import Service from '@ember/service';
6363
6464
export default Service.extend({
65-
// body
65+
// body
6666
});
6767
6868
helper ->
6969
import Helper from '@ember/component/helper';
7070
7171
export default Helper.extend({
72-
compute() {
73-
// body
74-
}
72+
compute() {
73+
// body
74+
}
7575
});
7676
7777
```
7878

7979
#### 4. Handlebars snippets
80-
Take the adventage of faster templating by using HBS snippets, eg:
80+
Take the advantage of faster templating by using HBS snippets, eg:
8181
```
8282
yield -> {{yield}}
8383
8484
debugger -> {{debugger}}
8585
86-
on -> {{on }}
86+
on -> {{on }}
8787
8888
mut -> (mut )
8989
9090
let ->
91-
{{#let as ||}}
92-
91+
{{#let as ||}}
92+
9393
{{/let}}
9494
9595
if ->
9696
{{#if }}
97-
97+
9898
{{/if}}
9999
100100
eachelse ->
101-
{{#each as ||}}
102-
101+
{{#each as ||}}
102+
103103
{{else}}
104-
104+
105105
{{/each}}
106106
107107
input -> <Input @value= />
108108
109109
linkto ->
110110
<LinkTo @route=>
111-
111+
112112
</LinkTo>
113113
```
114114

@@ -117,7 +117,7 @@ linkto ->
117117
#### Ember Data
118118

119119
##### Imports
120-
All imports according to latest RFC: https://emberjs.github.io/rfcs/0395-ember-data-packages.html
120+
All imports according to the latest RFC: https://emberjs.github.io/rfcs/0395-ember-data-packages.html
121121

122122
Examples:
123123

@@ -192,17 +192,17 @@ task(function *() {
192192
```
193193

194194
## Contribution
195-
Did I missed your favourit addon or snippet? It's super easy to contribute!
195+
Did I miss your favorite addon or snippet? It's super easy to contribute!
196196

197197
1. Create a new folder in `src/javascript/addons` for JS or `src/handlebard/addons` for HBS with you addon name, eg. `my-addon`
198198
2. Create files like `cheets.js`, `imports.js` or `skeletons.js`
199199
3. Fill in the files with following structure:
200-
```js
201-
module.exports = {
202-
"[my-addon] superFunction": {
203-
"prefix": "imsuperFunction",
204-
"body": "import { superFunction } from 'my-addon';",
205-
"description": "superFunction allows you to do super things"
206-
},
207-
}
208-
```
200+
```js
201+
module.exports = {
202+
"[my-addon] superFunction": {
203+
"prefix": "imsuperFunction",
204+
"body": "import { superFunction } from 'my-addon';",
205+
"description": "superFunction allows you to do super things"
206+
},
207+
}
208+
```

0 commit comments

Comments
 (0)