From 6ac129d9d3abe1ea8002506b81152322402c1fe1 Mon Sep 17 00:00:00 2001 From: Morten Olsrud Date: Tue, 1 May 2018 11:04:27 +0200 Subject: [PATCH] Fix issue #15 Added a suggestion for a module name to attempt fixing #15. --- src/sha256.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sha256.js b/src/sha256.js index 14bcf45..3c5133c 100644 --- a/src/sha256.js +++ b/src/sha256.js @@ -510,7 +510,7 @@ root.sha256 = exports.sha256; root.sha224 = exports.sha224; if (AMD) { - define(function () { + define("js-sha256",function () { return exports; }); }