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

@@ -10,8 +10,8 @@
"l10n"
],
"author": {
"name": "Santhosh Thottingal",
"email": "santhosh.thottingal@gmail.com"
"name": "Santhosh Thottingal",
"email": "santhosh.thottingal@gmail.com"
},
"contributors": [
"Amir Aharoni",
@@ -29,13 +29,13 @@
"url": "git://github.com/wikimedia/language-data.git"
},
"bugs": {
"url" : "http://github.com/wikimedia/language-data/issues"
"url": "http://github.com/wikimedia/language-data/issues"
},
"engine": {
"node": ">=0.10.x"
},
"license": "(MIT OR GPL-2.0+)",
"scripts": {
"license": "(MIT OR GPL-2.0+)",
"scripts": {
"test": "mocha"
}
}