require -> import

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3904 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-06-18 17:39:08 +00:00
parent ed6550a4cd
commit 2d8a956c14
8 changed files with 43 additions and 45 deletions

View File

@ -1,5 +1,3 @@
"use strict";
function decode(encoded) {
var result = "";
for (var i = 0; i < encoded.length; i++) {
@ -32,4 +30,4 @@ function decodeForm(encoded, initial) {
return result;
}
exports.decodeForm = decodeForm;
export { decodeForm };