Skip to content

Commit

Permalink
Merge pull request rust-lang#215 from knownasilya/patch-3
Browse files Browse the repository at this point in the history
Fix destructure syntax
  • Loading branch information
chancancode authored Mar 15, 2017
2 parents 7a4679c + af30db2 commit 0e22862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/0000-custom-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ specify the following:
```js
import Ember from 'ember';

const { capabilities, definition } from Ember.Component;
const { capabilities, definition } = Ember.Component;

export default definition({
name: "foo-bar",
Expand Down Expand Up @@ -466,7 +466,7 @@ not enabled by default:
```js
import Ember from 'ember';

const { capabilities, definition } from Ember.Component;
const { capabilities, definition } = Ember.Component;

export default definition({
name: "foo-bar",
Expand Down

0 comments on commit 0e22862

Please sign in to comment.