Skip to content

Commit 5cf3ee0

Browse files
author
Samuel Rigaud
committed
fix-lint-issues
1 parent 7ea407a commit 5cf3ee0

17 files changed

+339
-323
lines changed

examples/jsm/loaders/EXRLoader.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,7 +2515,7 @@ class EXRLoader extends DataTextureLoader {
25152515
EXRDecoder.outputChannels = 1;
25162516
EXRDecoder.decodeChannels = { R: 0 };
25172517

2518-
} else {
2518+
} else {
25192519

25202520
invalidOutput = true;
25212521

@@ -2549,7 +2549,7 @@ class EXRLoader extends DataTextureLoader {
25492549
EXRDecoder.outputChannels = 1;
25502550
EXRDecoder.decodeChannels = { Y: 0 };
25512551

2552-
} else {
2552+
} else {
25532553

25542554
invalidOutput = true;
25552555

@@ -2563,7 +2563,7 @@ class EXRLoader extends DataTextureLoader {
25632563

25642564
}
25652565

2566-
if (invalidOutput) throw new Error( 'EXRLoader.parse: invalid output format for specified file.' );
2566+
if ( invalidOutput ) throw new Error( 'EXRLoader.parse: invalid output format for specified file.' );
25672567

25682568
if ( EXRDecoder.type == 1 ) {
25692569

@@ -2712,12 +2712,12 @@ class EXRLoader extends DataTextureLoader {
27122712
if ( this.outputFormat == RGBAFormat ) {
27132713

27142714
for ( let i = 0; i < byteArray.length; i += 4 )
2715-
byteArray [i + 2 ] = ( byteArray [ i + 1 ] = byteArray[ i ] );
2715+
byteArray[ i + 2 ] = ( byteArray[ i + 1 ] = byteArray[ i ] );
27162716

27172717
} else if ( this.outputFormat == RGFormat ) {
27182718

27192719
for ( let i = 0; i < byteArray.length; i += 2 )
2720-
byteArray [ i + 1 ] = byteArray[ i ] ;
2720+
byteArray[ i + 1 ] = byteArray[ i ];
27212721

27222722
}
27232723

examples/jsm/loaders/HDRCubeTextureLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class HDRCubeTextureLoader extends Loader {
4242
*
4343
* @type {HDRLoader}
4444
*/
45-
this.hdrLoader = new HDRLoader();
45+
this.hdrLoader = new HDRLoader();
4646

4747
/**
4848
* The texture type.

0 commit comments

Comments
 (0)