Skip to content

Commit

Permalink
Deprecation guide for Ember.create and Ember.keys
Browse files Browse the repository at this point in the history
- Adds links out to MDN for more information.

See emberjs#2256
  • Loading branch information
duggiefresh committed Aug 10, 2015
1 parent 3733ee5 commit dc9a352
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion source/deprecations/v1.x.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,18 @@ For further reading, review the [RFC](https://github.com/emberjs/rfcs/blob/maste
Ember.js 1.13 is the last minor release of Ember 1.x before 2.0. Consequently,
it has a rather large number of notable deprecations.

#### Ember.create

`Ember.create` is deprecated in favor for `Object.create`. For more information
regarding `Object.create`, please
[read the MDN doc](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create).

#### Ember.keys

`Ember.keys` is deprecated in favor for `Object.keys`. For more information
regarding `Object.keys`, please
[read the MDN doc](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys).

#### Ember.View

Ember 1.x encouraged a Model-View-Controller-Route architecture. Since then,
Expand Down Expand Up @@ -1022,4 +1034,4 @@ c = Contact.create({ firstName: "John", lastName: "Doe" });
c.swapNames(); // returns c
Object.freeze(c);
c.swapNames(); // EXCEPTION
```
```

0 comments on commit dc9a352

Please sign in to comment.