[Pkg-javascript-commits] [node-sha.js] 117/237: use browserify edge case to get browser version of core module in node
Bastien Roucariès
rouca at moszumanska.debian.org
Fri May 5 09:03:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-sha.js.
commit 657c0a94c914dee1a473b21f1f3c736a5e715a45
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date: Sat Jun 7 02:06:30 2014 +0000
use browserify edge case to get browser version of core module in node
---
browserify.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/browserify.js b/browserify.js
index 6538579..cea44fe 100644
--- a/browserify.js
+++ b/browserify.js
@@ -4,7 +4,7 @@ var exports = module.exports = function (alg) {
return new Alg()
}
-var Buffer = require('native-buffer-browserify').Buffer
+var Buffer = require('buffer/').Buffer
var Hash = require('./hash')(Buffer)
exports.sha =
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-sha.js.git
More information about the Pkg-javascript-commits
mailing list