mirror of
https://github.com/evilhero/mylar
synced 2024-12-21 23:32:23 +00:00
FIX: make index case-insensitive (#2381)
This commit is contained in:
parent
e3c716da6d
commit
d5b889720a
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ function bin ( data ) {
|
|||
bins['nonalpha'] = 0;
|
||||
for ( var i=0, ien=data.length ; i<ien ; i++ ) {
|
||||
letter = data[i].charAt(13).toUpperCase();
|
||||
if ( !letter.match(/^[A-Z]/) ) {
|
||||
if ( !letter.match(/^[a-zA-Z]/) ) {
|
||||
bins['nonalpha']++;
|
||||
}
|
||||
else if ( bins[letter] ) {
|
||||
|
|
Loading…
Reference in a new issue