Files
jquery.uls/scripts/transform.js
Niklas Laxström 670585033e Update language-data
"Fixed" the build script by using a known working version.

Updating to 69074e24757a59ad9a20be4a28ddbe4285ae06a6.
2020-12-09 11:40:32 +02:00

19 lines
356 B
JavaScript

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