diff --git a/src/api/index.md b/src/api/index.md index 278efd6dd4..cc6d01cb66 100644 --- a/src/api/index.md +++ b/src/api/index.md @@ -266,12 +266,12 @@ type: api ``` js // register an extended constructor - Vue.component('my-component', Vue.extend({ /* ... */})) + Vue.component('my-component', Vue.extend({ /* ... */ })) // register an options object (automatically call Vue.extend) Vue.component('my-component', { /* ... */ }) - // retrive a registered component (always return constructor) + // retrieve a registered component (always return constructor) var MyComponent = Vue.component('my-component') ```