From d2ee2e94b5aa11c899b59349da07647d5beb5a59 Mon Sep 17 00:00:00 2001 From: Mark Nadal Date: Tue, 17 Nov 2015 10:16:30 -0800 Subject: [PATCH] Update gun.js --- gun.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gun.js b/gun.js index 1768100f..dee4b2d3 100644 --- a/gun.js +++ b/gun.js @@ -788,7 +788,7 @@ Util.text.random = function(l, c){ var s = ''; l = l || 24; // you are not going to make a 0 length random number, so no need to check type - c = c || '0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghiklmnopqrstuvwxyz'; + c = c || '0123456789ABCDEFGHIJKLMNOPQRSTUVWXZabcdefghijklmnopqrstuvwxyz'; while(l > 0){ s += c.charAt(Math.floor(Math.random() * c.length)); l-- } return s; } @@ -1308,4 +1308,4 @@ } return r; }()); -}({})); \ No newline at end of file +}({}));