* Added support for update hash.

* Added support for bytes array output.
* Added support for ArrayBuffer output.
* Added support for AMD.
This commit is contained in:
Yi-Cyuan
2015-12-28 15:54:38 +08:00
parent 201bff606f
commit 261e55bd5c
43 changed files with 16037 additions and 413 deletions
+24
View File
@@ -0,0 +1,24 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>MD5</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css">
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/expect.js/index.js"></script>
<script src="../node_modules/requirejs/require.js"></script>
</head>
<body>
<div id="mocha"></div>
<script>
mocha.setup('bdd');
require(['../src/md5.js'], function(md5) {
window.md5 = md5;
require(['test.js'], function() {
mocha.checkLeaks();
mocha.run();
})
});
</script>
</body>
</html>