summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/uuid/lib/rng-browser.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/uuid/lib/rng-browser.js')
-rw-r--r--deps/npm/node_modules/uuid/lib/rng-browser.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/node_modules/uuid/lib/rng-browser.js b/deps/npm/node_modules/uuid/lib/rng-browser.js
index 88b7dfb68a..ac39b1289b 100644
--- a/deps/npm/node_modules/uuid/lib/rng-browser.js
+++ b/deps/npm/node_modules/uuid/lib/rng-browser.js
@@ -7,7 +7,7 @@ var rng;
var crypto = global.crypto || global.msCrypto; // for IE 11
if (crypto && crypto.getRandomValues) {
// WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto
- var rnds8 = new Uint8Array(16);
+ var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
rng = function whatwgRNG() {
crypto.getRandomValues(rnds8);
return rnds8;
@@ -19,7 +19,7 @@ if (!rng) {
//
// If all else fails, use Math.random(). It's fast, but is of unspecified
// quality.
- var rnds = new Array(16);
+ var rnds = new Array(16);
rng = function() {
for (var i = 0, r; i < 16; i++) {
if ((i & 0x03) === 0) r = Math.random() * 0x100000000;