Pārlūkot izejas kodu

Curly bracket changed to sit on the same line :)

Andrii Iudin 8 gadi atpakaļ
vecāks
revīzija
1801575c41
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      examples/js/loaders/VTKLoader.js

+ 1 - 2
examples/js/loaders/VTKLoader.js

@@ -919,8 +919,7 @@ Object.assign( THREE.VTKLoader.prototype, THREE.EventDispatcher.prototype, {
 						while ( dataArrayIndex < numberOfDataArrays ) {
 
 							// Parse the DataArray
-							if ( ('#text' in arr[ dataArrayIndex ]) && (arr[ dataArrayIndex ][ '#text' ].length > 0) )
-							{
+							if ( ('#text' in arr[ dataArrayIndex ]) && (arr[ dataArrayIndex ][ '#text' ].length > 0) ) {
 								arr[ dataArrayIndex ].text = parseDataArray( arr[ dataArrayIndex ], compressed );
 							}
 								dataArrayIndex ++;