Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX release] Deprecate reverse argument ordering in Ember.observer #11778

Conversation

cibernox
Copy link
Contributor

A very unknown feature of Ember.observer that has been soft-deprecated
for a long time is to provide arguments in reverse order

Example:

Ember.observer(function() {
  // do something
}, 'prop1', 'prop2')

This feature explicitly deprecates this, and a subsequent PR will remove
the code that reverses the arguments

A very unknown feature of Ember.observer that has been soft-deprecated
for a long time is to provide arguments in reverse order

Example:

```js
Ember.observer(function() {
  // do something
}, 'prop1', 'prop2')
```

This feature explicitly deprecates this, and a subsequent PR will remove
the code that reverses the arguments
@rwjblue
Copy link
Member

rwjblue commented Jul 16, 2015

👍

rwjblue added a commit that referenced this pull request Jul 16, 2015
…_order_in_observer

[BUGFIX release] Deprecate reverse argument ordering in Ember.observer
@rwjblue rwjblue merged commit 008bcd9 into emberjs:master Jul 16, 2015
@rwjblue
Copy link
Member

rwjblue commented Jul 16, 2015

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants