Skip to content

Commit 7177635

Browse files
committed
Merge pull request #248 from aryehshai/patch-2
Update index.md
2 parents 652a319 + 9ae448d commit 7177635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ type: api
266266

267267
``` js
268268
// register an extended constructor
269-
Vue.component('my-component', Vue.extend({ /* ... */}))
269+
Vue.component('my-component', Vue.extend({ /* ... */ }))
270270

271271
// register an options object (automatically call Vue.extend)
272272
Vue.component('my-component', { /* ... */ })
273273

274-
// retrive a registered component (always return constructor)
274+
// retrieve a registered component (always return constructor)
275275
var MyComponent = Vue.component('my-component')
276276
```
277277

0 commit comments

Comments
 (0)