Skip to content

Commit a5f9860

Browse files
committed
Build after eslint adjustments
1 parent e49a058 commit a5f9860

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

build/jsroot.js

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78003,7 +78003,6 @@ createLatexGeometry: createLatexGeometry
7800378003
*/
7800478004

7800578005
/* eslint-disable curly */
78006-
/* eslint-disable no-loss-of-precision */
7800778006
/* eslint-disable no-useless-assignment */
7800878007
/* eslint-disable no-use-before-define */
7800978008
/* eslint-disable no-else-return */
@@ -112140,7 +112139,6 @@ function createMatrix(matrix) {
112140112139
break;
112141112140
case 'TGeoGenTrans':
112142112141
scale = matrix.fScale; // no break, translation and rotation follows
112143-
// eslint-disable-next-line no-fallthrough
112144112142
case 'TGeoCombiTrans':
112145112143
translation = matrix.fTranslation;
112146112144
rotation = matrix.fRotation?.fRotationMatrix;
@@ -112510,7 +112508,6 @@ createGeometry = function(shape, limit = 0) {
112510112508
case clTGeoHalfSpace:
112511112509
if (limit < 0)
112512112510
return 1; // half space if just plane used in composite
112513-
// eslint-disable-next-line no-fallthrough
112514112511
default:
112515112512
geoWarn(`unsupported shape type ${shape._typename}`);
112516112513
}
@@ -112650,7 +112647,6 @@ function provideObjectInfo(obj) {
112650112647
break;
112651112648
case clTGeoTrd2:
112652112649
info.push(`Dy1=${conv(shape.fDy1)} Dy2=${conv(shape.fDy1)}`); // no break
112653-
// eslint-disable-next-line no-fallthrough
112654112650
case clTGeoTrd1:
112655112651
info.push(`Dx1=${conv(shape.fDx1)} Dx2=${conv(shape.fDx1)}`);
112656112652
break;
@@ -112661,15 +112657,13 @@ function provideObjectInfo(obj) {
112661112657
break;
112662112658
case clTGeoConeSeg:
112663112659
info.push(`Phi1=${shape.fPhi1} Phi2=${shape.fPhi2}`);
112664-
// eslint-disable-next-line no-fallthrough
112665112660
case clTGeoCone:
112666112661
info.push(`Rmin1=${conv(shape.fRmin1)} Rmax1=${conv(shape.fRmax1)}`,
112667112662
`Rmin2=${conv(shape.fRmin2)} Rmax2=${conv(shape.fRmax2)}`);
112668112663
break;
112669112664
case clTGeoCtub:
112670112665
case clTGeoTubeSeg:
112671112666
info.push(`Phi1=${shape.fPhi1} Phi2=${shape.fPhi2}`);
112672-
// eslint-disable-next-line no-fallthrough
112673112667
case clTGeoEltu:
112674112668
case clTGeoTube:
112675112669
info.push(`Rmin=${conv(shape.fRmin)} Rmax=${conv(shape.fRmax)}`);
@@ -112710,7 +112704,6 @@ function provideObjectInfo(obj) {
112710112704
break;
112711112705
case clTGeoGtra:
112712112706
info.push(`TwistAngle=${conv(shape.fTwistAngle)}`);
112713-
// eslint-disable-next-line no-fallthrough
112714112707
case clTGeoTrap:
112715112708
info.push(`Phi=${conv(shape.fPhi)} Theta=${conv(shape.fTheta)}`);
112716112709
break;
@@ -119894,7 +119887,6 @@ class TGeoPainter extends ObjectPainter {
119894119887
break;
119895119888
case 'mix':
119896119889
this.#camera.add(new THREE.AmbientLight(0xefefef, p));
119897-
// eslint-disable-next-line no-fallthrough
119898119890
default: // 6 point lights
119899119891
for (let n = 0; n < 6; ++n) {
119900119892
const l = new THREE.DirectionalLight(0xefefef, p);
@@ -124556,7 +124548,6 @@ function createMemberStreamer(element, file, no_string) {
124556124548
case kOffsetL + kDouble32:
124557124549
case kOffsetP + kDouble32:
124558124550
member.double32 = true;
124559-
// eslint-disable-next-line no-fallthrough
124560124551
case kFloat16:
124561124552
case kOffsetL + kFloat16:
124562124553
case kOffsetP + kFloat16:
@@ -127457,6 +127448,7 @@ class FileProxy {
127457127448
getFileName() { return ''; }
127458127449
getFileSize() { return 0; }
127459127450
async readBuffer(/* pos, sz */) { return null; }
127451+
closeFile() {}
127460127452

127461127453
} // class FileProxy
127462127454

@@ -127517,6 +127509,15 @@ class TProxyFile extends TFile {
127517127509
return Promise.all(arr);
127518127510
}
127519127511

127512+
/** @summary Fully cleanup TProxyFile data
127513+
* @private */
127514+
delete() {
127515+
super.delete();
127516+
if (isFunc(this.proxy?.closeFile))
127517+
this.proxy.closeFile();
127518+
delete this.proxy;
127519+
}
127520+
127520127521
} // class TProxyFile
127521127522

127522127523

@@ -166921,7 +166922,6 @@ function parseAsArray(val) {
166921166922
nbr--;
166922166923
break;
166923166924
}
166924-
// eslint-disable-next-line no-fallthrough
166925166925
case ',':
166926166926
if (nbr === 0) {
166927166927
let sub = val.substring(last, indx).trim();
@@ -180456,7 +180456,6 @@ class ReaderItem {
180456180456
break;
180457180457
case kReal32Trunc:
180458180458
this.buf = new DataView(new ArrayBuffer(4), 0);
180459-
// eslint-disable-next-line no-fallthrough
180460180459
case kReal32Quant:
180461180460
this.nbits = this.column.bitsOnStorage;
180462180461
if (!this.buf) {

0 commit comments

Comments
 (0)