equal
deleted
inserted
replaced
91 |
91 |
92 var resp = xml.responseText; |
92 var resp = xml.responseText; |
93 var r = />([^<]*).png</g; |
93 var r = />([^<]*).png</g; |
94 var x; |
94 var x; |
95 while(x = r.exec(resp)) |
95 while(x = r.exec(resp)) |
96 if (!/^Team|NoHat/.test(x[1])) // Exclude team coloured ones as repetitive, NoHat one as uninteresting |
96 if (!/NoHat|hair_team|cap_team|TeamTophat/.test(x[1])) // Exclude NoHat as uninteresting. hair_team, cap_team and TeamTophat as repetitive team hats |
97 masks.push(x[1]); |
97 masks.push(x[1]); |
98 |
98 |
99 var opt = document.createElement("option"); |
99 var opt = document.createElement("option"); |
100 opt.appendChild(document.createTextNode("")); |
100 opt.appendChild(document.createTextNode("")); |
101 var sel = document.body.appendChild(document.createElement("select")); |
101 var sel = document.body.appendChild(document.createElement("select")); |