mirror of https://github.com/zulip/zulip.git
js: Convert static/js/markdown_config.js to ES6 module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
e6fce07b0e
commit
ea5b1059af
|
@ -1,6 +1,4 @@
|
|||
"use strict";
|
||||
|
||||
const people = require("./people");
|
||||
import * as people from "./people";
|
||||
|
||||
/*
|
||||
This config is in a separate file for partly
|
||||
|
@ -24,7 +22,7 @@ const people = require("./people");
|
|||
when the lookups fail.
|
||||
*/
|
||||
|
||||
exports.get_helpers = () => ({
|
||||
export const get_helpers = () => ({
|
||||
// user stuff
|
||||
get_actual_name_from_user_id: people.get_actual_name_from_user_id,
|
||||
get_user_id_from_name: people.get_user_id_from_name,
|
||||
|
|
Loading…
Reference in New Issue