mobile sharing: Make emoji.js a shared ES6 module.

This is a pretty straightforward conversion.

The bulk of the diff is just changing emoji.js
to ES6 syntax.

There is one little todo that can be deferred
to the next commit--we are now set up to have
markdown.js require emoji.js directly, since
it is no longer on `window`.
This commit is contained in:
Steve Howell
2020-07-24 22:12:17 +00:00
committed by Tim Abbott
parent a028aa5f8a
commit 0eb206f97e
22 changed files with 67 additions and 53 deletions

View File

@@ -1,4 +1,5 @@
const generated_emoji_codes = require("../generated/emoji/emoji_codes.json");
const emoji = require("../shared/js/emoji");
const emojisets = require("./emojisets");
const markdown_config = require("./markdown_config");