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

@@ -157,4 +157,4 @@ if (typeof String.prototype.utf8Decode == 'undefined') {
if (typeof module != 'undefined' && module.exports) module.exports = Sha1; // CommonJs export
if (typeof define == 'function' && define.amd) define([], function() { return Sha1; }); // AMD
exports.hash = Sha1.hash;
export let hash = Sha1.hash;