Skip to content

Commit

Permalink
「ー」の対応をちょっと修正(実質「ー」記号の削除)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloneko committed Apr 16, 2013
1 parent d38d7f6 commit 1762788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kana2romaji.js
Expand Up @@ -117,5 +117,6 @@ function kana2romaji(string) {

value += buf !== '' ? uniTable[buf] : '';

value = value.replace(/([aiueo])ー/gi,'$1');
return value;
}

0 comments on commit 1762788

Please sign in to comment.