[Pkg-javascript-commits] [node-randomfill] 39/47: remove const
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:52:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-randomfill.
commit 1cb164721fed2fb23058dc9ba87a8812b81834db
Author: Calvin Metcalf <cmetcalf at appgeo.com>
Date: Wed Oct 18 11:14:32 2017 -0400
remove const
---
browser.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/browser.js b/browser.js
index 88d2262..afbb6a8 100644
--- a/browser.js
+++ b/browser.js
@@ -8,7 +8,7 @@ var randombytes = require('randombytes')
var Buffer = safeBuffer.Buffer
var kBufferMaxLength = safeBuffer.kMaxLength
var crypto = global.crypto || global.msCrypto
-const kMaxUint32 = Math.pow(2, 32) - 1
+var kMaxUint32 = Math.pow(2, 32) - 1
function assertOffset (offset, length) {
if (typeof offset !== 'number' || offset !== offset) { // eslint-disable-line no-self-compare
throw new TypeError('offset must be a number')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-randomfill.git
More information about the Pkg-javascript-commits
mailing list