mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 15:34:10 +08:00

These methods have been natively supported in all our target browsers for many years. We're now feature-detecting `String.prototype.replaceAll`, which is a much more recent addition. If a browser has `replaceAll`, it'll have `padStart` and `padEnd`