User:Opencooper/showKanji-dev.js: Difference between revisions

Content deleted Content added
better handling of Latin with katakana reading
fix
Line 309:
// Abort if our reading is only katakana or Latin
if ((!kanjiRegexes.latinOnly.test(wikidataKanji) && /^[ァ-ヴー]+$/.test(kana))
|| (/^\w+$/.test(kana)) {
console.log("showKanji-dev.js: throwing away reading: " + kana);
getWiktionary();