ESM: Rewritten src/web/ in ESM format.

This commit is contained in:
n1474335 2018-05-15 17:36:45 +00:00
parent c90acd24f5
commit 07715bd167
34 changed files with 5207 additions and 4341 deletions

View file

@ -53,6 +53,7 @@ class FromHex extends Operation {
* @returns {Object[]} pos
*/
highlight(pos, args) {
if (args[0] === "Auto") return false;
const delim = Utils.charRep(args[0] || "Space"),
len = delim === "\r\n" ? 1 : delim.length,
width = len + 2;