Ember-deprecated
Ember-deprecated makes it easy to warn developers about code that they shouldn't be using anymore
Installation
npm install --save-dev ember-deprecated
Deprecating Properties
If you have a type defined:
Object;
You can just wrap the properties you wish to deprecate with deprecateProperty
; Object;
And you'll see something like this logged to the console
Deprecating Actions
if you have a controller
ObjectController;
You can just wrap the actions you wish to deprecate with deprecateAction
; ObjectController;
And you'll see something like this logged to the console once the action is invoked
Running Tests
ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.