Update gun.js

This commit is contained in:
Mark Nadal 2015-11-17 10:16:30 -08:00
parent 9f3d4080a5
commit d2ee2e94b5

4
gun.js
View File

@ -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;
}());
}({}));
}({}));