Update language-data

"Fixed" the build script by using a known working version.

Updating to 69074e24757a59ad9a20be4a28ddbe4285ae06a6.
This commit is contained in:
Niklas Laxström
2020-12-09 11:39:47 +02:00
parent dd8555bad4
commit 670585033e
3 changed files with 38 additions and 15 deletions

View File

@@ -18,14 +18,10 @@ then (
git clone "$UPSTREAM" "$CLONEDIR"
fi
if [ -d "$BASEDIR"/node_modules/browserify ]
then
echo "browserify already installed"
else (
echo "Installing browserify"
cd "$BASEDIR";
npm install --no-save browserify
) fi
# This re-installs it every time, but guarantees we have the right version
echo "Installing browserify"
cd "$BASEDIR";
npm install --no-save browserify@v16.5.2
echo "Transforming language-data"

View File

@@ -1,16 +1,18 @@
var through = require( 'through' );
const through = require( 'through' );
module.exports = function () {
var data, end, write;
data = '( function ( $ ) {\n\t$.uls = $.uls || {};\n\t$.uls.data = ';
write = function ( buf ) {
let data = '( function ( $ ) {\n\t$.uls = $.uls || {};\n\t$.uls.data = ';
const write = function ( buf ) {
data += buf;
return data;
};
end = function () {
const end = function () {
data += '\n} ( jQuery ) );';
this.queue( data );
return this.queue( null );
this.queue( null );
};
return through( write, end );
};

View File

@@ -643,6 +643,20 @@ module.exports=( function ( $ ) {
],
"Mìng-dĕ̤ng-ngṳ̄"
],
"cdo-latn": [
"Latn",
[
"AS"
],
"Mìng-dĕ̤ng-ngṳ̄ Bàng-uâ-cê"
],
"cdo-hani": [
"Hani",
[
"AS"
],
"閩東語漢字"
],
"ce": [
"Cyrl",
[
@@ -1800,6 +1814,13 @@ module.exports=( function ( $ ) {
],
"Kabɩyɛ"
],
"kcg": [
"Latn",
[
"AF"
],
"Tyap"
],
"kea": [
"Latn",
[
@@ -4226,6 +4247,9 @@ module.exports=( function ( $ ) {
"zh-yue": [
"yue"
],
"zh-cdo": [
"cdo"
],
"zu": [
"Latn",
[
@@ -4291,6 +4315,7 @@ module.exports=( function ( $ ) {
"Cyrl"
],
"CJK": [
"Hani",
"Hans",
"Hant",
"Kana",
@@ -5335,7 +5360,6 @@ module.exports=( function ( $ ) {
"MY": [
"ms",
"en",
"zh-hant",
"zh",
"ta",
"jv",
@@ -5378,6 +5402,7 @@ module.exports=( function ( $ ) {
"ig",
"yo",
"ha-arab",
"kcg",
"ar",
"ff"
],