Added missing )

master
Klas af Geijerstam 8 years ago committed by GitHub
parent dbf4f6b5dd
commit ac2bceefbb
  1. 2
      lib/key_generators/dictionary.js

@ -24,7 +24,7 @@ var DictionaryGenerator = function(options) {
DictionaryGenerator.prototype.createKey = function(keyLength) {
var text = '';
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;
};

Loading…
Cancel
Save