Difference between revisions of "Template:HSNU-TAIPEI/members js"
Line 22: | Line 22: | ||
for(var i = 0; i < length; i++) { | for(var i = 0; i < length; i++) { | ||
var check = true; | var check = true; | ||
− | if(personName[i] | + | if(personName[i] == ' ' || personName[i] == '-') { |
check = false; | check = false; | ||
} | } | ||
Line 28: | Line 28: | ||
justifiedName += personName[i]; | justifiedName += personName[i]; | ||
} | } | ||
− | |||
− | |||
} | } | ||
return justifiedName; | return justifiedName; |
Revision as of 13:08, 16 June 2015