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 beta] Allow calling Ember.warn without test. #15103

Merged
merged 1 commit into from
Apr 2, 2017

Conversation

Serabe
Copy link
Member

@Serabe Serabe commented Apr 2, 2017

If Ember.warn is called without the test parameter, a deprecation message is triggered.

RFC 65 makes the test parameter required for Ember.deprecate but not so for Ember.warn.

Fixes #15096

If `Ember.warn` is called without the `test` parameter, a deprecation message
is triggered.

[RFC
65](https://github.com/emberjs/rfcs/blob/master/text/0065-deprecation-warning-handlers.md)
makes the `test` parameter required for `Ember.deprecate` but not so for
`Ember.warn`.

Fixes emberjs#15096
@rwjblue rwjblue merged commit 9995152 into emberjs:master Apr 2, 2017
@rwjblue
Copy link
Member

rwjblue commented Apr 2, 2017

Thanks!

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