mirror of
https://github.com/SunRed/haste-server.git
synced 2024-11-01 01:30:21 +01:00
Added missing )
This commit is contained in:
parent
dbf4f6b5dd
commit
ac2bceefbb
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ var DictionaryGenerator = function(options) {
|
||||||
DictionaryGenerator.prototype.createKey = function(keyLength) {
|
DictionaryGenerator.prototype.createKey = function(keyLength) {
|
||||||
var text = '';
|
var text = '';
|
||||||
for(var i = 0; i < keyLength; i++)
|
for(var i = 0; i < keyLength; i++)
|
||||||
text += this.dictionary[Math.floor(Math.random()*this.dictionary.length];
|
text += this.dictionary[Math.floor(Math.random()*this.dictionary.length)];
|
||||||
return text;
|
return text;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue