[deprecations] Use LinkComponent instead of LinkView

This commit is contained in:
Piotr Sarnacki 2016-01-07 10:26:09 +01:00
parent bde3b7375a
commit 16da227dd9
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import config from './config/environment';
Ember.MODEL_FACTORY_INJECTIONS = true;
Ember.LinkView.reopen({
Ember.LinkComponent.reopen({
attributeBindings: ['alt']
});

View File

@ -1,7 +1,10 @@
window.deprecationWorkflow = window.deprecationWorkflow || {};
window.deprecationWorkflow.config = {
workflow: [
{ handler: "silence", matchMessage: "Ember.LinkView is deprecated. Please use Ember.LinkComponent." },
// DONE
{ handler: "log", matchMessage: "Ember.LinkView is deprecated. Please use Ember.LinkComponent." },
// TODO
{ handler: "silence", matchMessage: "Calling store.find() with a query object is deprecated. Use store.query() instead." },
{ handler: "silence", matchMessage: "Ember.View is deprecated. Consult the Deprecations Guide for a migration strategy." },
{ handler: "silence", matchMessage: "Ember.arrayComputed is deprecated. Replace it with plain array methods" },