mirror of
https://github.com/discourse/discourse.git
synced 2025-02-01 00:56:14 +08:00
DEV: Allow access to ember-computed-decorators under ember-cli (#15945)
This was deprecated in Discourse 2.4, but no end version was put on the deprecation. Many plugins/themes are still using it. This commit restores it under ember-cli so that it does not block the Ember CLI rollout, and can be removed in a future commit.
This commit is contained in:
parent
5eaf214594
commit
a170c8e708
|
@ -7,3 +7,14 @@ define("htmlbars-inline-precompile", ["exports"], function (exports) {
|
|||
return Ember.Handlebars.compile(strings[0]);
|
||||
};
|
||||
});
|
||||
|
||||
define("ember-addons/ember-computed-decorators", [
|
||||
"discourse-common/utils/decorators",
|
||||
"discourse-common/lib/deprecated",
|
||||
], function (decorators, deprecated) {
|
||||
deprecated.default(
|
||||
"ember-addons/ember-computed-decorators is deprecated. Use discourse-common/utils/decorators instead.",
|
||||
{ since: "2.4", dropFrom: "3.0" }
|
||||
);
|
||||
return decorators;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user