deprecate (message, test, options) public
Defined in packages/ember-debug/lib/deprecate.js:97
Display a deprecation warning with the provided message and a stack trace (Chrome and Firefox only). In a production build, this method is defined as an empty function (NOP). Uses of this method in Ember itself are stripped from the ember.prod.js build.
Parameters:
message String
A description of the deprecation.
test Boolean
A boolean. If falsy, the deprecation will be displayed.
option