Skip to content

Commit

Permalink
Refs #11835 - Update packages/ember so Ember.deprecate includes requi…
Browse files Browse the repository at this point in the history
…red options.
  • Loading branch information
EricSchank committed Jul 21, 2015
1 parent acecb9f commit 0cdc134
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/ember/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ runLoadHooks('Ember');
@module ember
*/

Ember.deprecate('Usage of Ember is deprecated for Internet Explorer 6 and 7, support will be removed in the next major version.', !environment.userAgent.match(/MSIE [67]/));
Ember.deprecate(
'Usage of Ember is deprecated for Internet Explorer 6 and 7, support will be removed in the next major version.',
!environment.userAgent.match(/MSIE [67]/),
{ id: 'ember.ie6-ie7', until: '3.0.0' });

0 comments on commit 0cdc134

Please sign in to comment.