Agg. interni; 1^a revisione nuovo articolo: 🥴 Brutta interfaccia? File tutti distrutti!

This commit is contained in:
2023-03-19 00:22:52 +01:00
parent 6a2167b535
commit 61a92c17f0
24 changed files with 367 additions and 47 deletions

View File

@ -20,6 +20,19 @@ Exp.Range = (Start, Stop, Step) => {
);
};
Exp.RawDataCssRule = RawData => {
//RawData = RawData.map(x => {
// return({animal: x});
//});
//var JsonData = {};
//RawData.forEach(function(Val) { // sad, variable name not transcribed with function pass
// var [Name] = Object.keys({Val});
// Object.assign(JsonData, JSON.parse(`{"${Name}": "${Val}"}`));
//});
// TODO: Handle apostrophes?
return `#RawDataCssInject{background:url('${JSON.stringify(RawData)}');}`;//'\n/*' + JSON.stringify(JsonData) + '*/';
};
Exp.Unpack = (Left, Middle, Right) => {
var Str = '';
TryStringToList(Middle).forEach(function(Target) {