Add the Ol Chiki script (Olck), add getLanguages(), and fix the tests

The tests were using languageData.languages, which was undefined.
This patch adds a method to get all the languages to be able to test.
This commit is contained in:
Amir Aharoni
2018-08-12 19:33:28 +03:00
committed by Niklas Laxström
parent d6912d6c94
commit 87b3fd8666
6 changed files with 25 additions and 14 deletions

View File

@@ -651,7 +651,7 @@ scriptgroups:
# Tibetan (Tibt) is here, even though it's classified as "Central Asian" by
# Unicode, because linguistically and geographically it's closely related to
# the Brahmic family.
SouthAsian: [Beng, Deva, Gujr, Guru, Knda, Mlym, Orya, Saur, Sinh, Taml, Telu, Tibt, Thaa, Wara]
SouthAsian: [Beng, Deva, Gujr, Guru, Knda, Mlym, Olck, Orya, Saur, Sinh, Taml, Telu, Tibt, Thaa, Wara]
Cyrillic: [Cyrl]
CJK: [Hans, Hant, Kana, Kore, Jpan, Yiii]
SouthEastAsian: [Bali, Batk, Bugi, Java, Khmr, Laoo, Mymr, Thai]