Skip to content

Commit

Permalink
[BUGFIX] Reverts the naming of setClassicDecorator externally
Browse files Browse the repository at this point in the history
The rename was intended to be internal only, the external API is
already in use so we should keep it as is. Name is unfortunate, but
it kind of is either way.
  • Loading branch information
Chris Garrett committed Apr 1, 2019
1 parent 31237ef commit 91b6a33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ember/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ Ember._tracked = metal.tracked;
computed.alias = metal.alias;
Ember.cacheFor = metal.getCachedValueFor;
Ember.ComputedProperty = metal.ComputedProperty;
Ember._setClassicDecorator = metal.setClassicDecorator;
Ember._setComputedDecorator = metal.setClassicDecorator;
Ember.meta = meta;
Ember.get = metal.get;
Ember.getWithDefault = metal.getWithDefault;
Expand Down
2 changes: 1 addition & 1 deletion packages/ember/tests/reexports_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ let allExports = [
['_tracked', '@ember/-internals/metal', 'tracked'],
['computed.alias', '@ember/-internals/metal', 'alias'],
['ComputedProperty', '@ember/-internals/metal'],
['_setClassicDecorator', '@ember/-internals/metal', 'setClassicDecorator'],
['_setComputedDecorator', '@ember/-internals/metal', 'setClassicDecorator'],
['cacheFor', '@ember/-internals/metal', 'getCachedValueFor'],
['merge', '@ember/polyfills'],
['instrument', '@ember/instrumentation'],
Expand Down

0 comments on commit 91b6a33

Please sign in to comment.