discourse/app/assets/javascripts/discourse/helpers/format-username.js.es6
Robin Ward a0dd75ba88 FEATURE: New API to create a custom formatter for displaying usernames
This is not exhaustive right now, but a good start and we can add to
it over time.
2017-10-30 13:27:08 -04:00

5 lines
190 B
JavaScript

import { registerUnbound } from 'discourse-common/lib/helpers';
import { formatUsername } from 'discourse/lib/utilities';
export default registerUnbound('format-username', formatUsername);