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]);
|
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