diff --git a/ghost/admin/config/deprecation-workflow.js b/ghost/admin/config/deprecation-workflow.js new file mode 100644 index 0000000000..6f08a71910 --- /dev/null +++ b/ghost/admin/config/deprecation-workflow.js @@ -0,0 +1,7 @@ +window.deprecationWorkflow = window.deprecationWorkflow || {}; +window.deprecationWorkflow.config = { + workflow: [ + {handler: 'silence', matchMessage: 'Using the injected `container` is deprecated. Please use the `getOwner` helper instead to access the owner of this object.'}, + {handler: 'silence', matchMessage: 'You modified (-join-classes \'ember-view\' \'form-group\' (-normalize-class \'errorClass\' errorClass activeClass=undefined inactiveClass=undefined)) twice in a single render. This was unreliable in Ember 1.x and will be removed in Ember 3.0'} + ] +}; diff --git a/ghost/admin/package.json b/ghost/admin/package.json index 3f003bda94..26a310b6f1 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -26,6 +26,7 @@ "ember-cli-babel": "5.1.5", "ember-cli-content-security-policy": "0.4.0", "ember-cli-dependency-checker": "1.1.0", + "ember-cli-deprecation-workflow": "0.1.5", "ember-cli-fastclick": "1.0.3", "ember-cli-htmlbars": "1.0.1", "ember-cli-htmlbars-inline-precompile": "0.3.1",