Loading lib/key_generators/phonetic.js +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ var PhoneticKeyGenerator = function(options) { // Generate a phonetic key PhoneticKeyGenerator.prototype.createKey = function(keyLength) { var text = ''; var start = Math.round(Math.random() * 2); var start = Math.round(Math.random()); for (var i = 0; i < keyLength; i++) { text += (i % 2 == start) ? this.randConsonant() : this.randVowel(); } Loading Loading
lib/key_generators/phonetic.js +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ var PhoneticKeyGenerator = function(options) { // Generate a phonetic key PhoneticKeyGenerator.prototype.createKey = function(keyLength) { var text = ''; var start = Math.round(Math.random() * 2); var start = Math.round(Math.random()); for (var i = 0; i < keyLength; i++) { text += (i % 2 == start) ? this.randConsonant() : this.randVowel(); } Loading