diff --git a/GAZIRA-HISTORY.md b/GAZIRA-HISTORY.md new file mode 100644 index 0000000..2a05c2f --- /dev/null +++ b/GAZIRA-HISTORY.md @@ -0,0 +1 @@ + * 给 `js/md5.js` 增加module.exports \ No newline at end of file diff --git a/component.json b/component.json new file mode 100644 index 0000000..83464a9 --- /dev/null +++ b/component.json @@ -0,0 +1,7 @@ +{ + "name": "gazira-md5", + "version": "0.0.1", + "main": "js/md5.js", + "dependencies": { + } +} \ No newline at end of file diff --git a/js/md5.js b/js/md5.js index f92ba37..2bc0a0c 100644 --- a/js/md5.js +++ b/js/md5.js @@ -271,4 +271,6 @@ } else { $.md5 = md5; } + + module.exports = md5; }(this));