Nouvelle compilation en JS.

This commit is contained in:
Fabrice PENHOËT 2022-01-17 16:55:36 +01:00
parent 3db4e96c91
commit 225d602bbc
7 changed files with 9 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -198,9 +198,9 @@ var FreeDatas2HTML = (function () {
return this._fields;
else {
var realFields = [];
for (var i = 0; i < this._fields.length; i++) {
if (this._fields2Rend.indexOf(i) !== -1)
realFields.push(this._fields[i]);
for (var _i = 0, _a = this._fields2Rend; _i < _a.length; _i++) {
var fieldId = _a[_i];
realFields.push(this._fields[fieldId]);
}
return realFields;
}

View File

@ -45,6 +45,7 @@ var initialise = function () { return __awaiter(void 0, void 0, void 0, function
return [4, converter.run()];
case 1:
_a.sent();
converter.fields2Rend = [3, 0, 1, 2];
myRender = new Render();
if (window.innerWidth < 800) {
myRender.settings =