Skip to content

Commit

Permalink
Merge pull request #21 from savvymas/avoid-deprecation
Browse files Browse the repository at this point in the history
avoid ordered-set deprecation
  • Loading branch information
ef4 authored Jun 4, 2018
2 parents 60c407e + eba7030 commit f9298e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ if (NEEDS_CUSTOM_ORDERED_SET) {
}
}
} else {
OrderedSet = Ember.OrderedSet;
OrderedSet = Ember.__OrderedSet__ || Ember.OrderedSet;
}

export default OrderedSet;
2 changes: 2 additions & 0 deletions tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ module.exports = function(environment) {

ENV.APP.rootElement = '#ember-testing';
ENV.APP.autoboot = false;

ENV.EmberENV.RAISE_ON_DEPRECATION = true;
}

if (environment === 'production') {
Expand Down

0 comments on commit f9298e6

Please sign in to comment.