Update language-data
"Fixed" the build script by using a known working version. Updating to 69074e24757a59ad9a20be4a28ddbe4285ae06a6.
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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 );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user