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 2, 2019
1 parent 4de058a commit d197d87
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 d197d87

Please sign in to comment.