Skip to content

Commit

Permalink
remove duplicate code from testing. reference correct main.js in inde…
Browse files Browse the repository at this point in the history
…x.html
  • Loading branch information
Aaron Toponce committed Oct 5, 2019
1 parent 876f79a commit 11d6bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.6bcfde1d.js → js/main.9d88b082.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function sec_rand(count) {
function generate_pass(len, set, spaces) {
var pass = "";
if (typeof set == "string") var pass_arr = set.split("");
else pass_arr = [...new Set(set)];
else pass_arr = set;
pass_arr = [...new Set(pass_arr)]; // enforce unique elements in array
for(i=len; i--;) {
if (spaces) {
Expand Down

0 comments on commit 11d6bdf

Please sign in to comment.