mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 07:13:12 +08:00
We never follow these, and most of the ones currently in core are for extremely old versions. Having bad data is confusing for everyone involved. We now have a robust workflow for escalating and removing JS deprecations, which does not require a `dropFrom` to be decided in advance.
11 lines
297 B
JavaScript
11 lines
297 B
JavaScript
import deprecated from "discourse/lib/deprecated";
|
|
|
|
export function registerOption() {
|
|
deprecated(
|
|
"`registerOption() from `pretty-text` is deprecated. Use `helper.registerOptions()` instead.",
|
|
{
|
|
since: "2.8.0.beta9",
|
|
id: "discourse.pretty-text.registerOption",
|
|
}
|
|
);
|
|
}
|