瀏覽代碼

enh : change spaces into tabs to match previous code style

Valentin Demeusy 8 年之前
父節點
當前提交
86142f7abe
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9 9
      examples/js/loaders/NRRDLoader.js

+ 9 - 9
examples/js/loaders/NRRDLoader.js

@@ -298,15 +298,15 @@ Object.assign( THREE.NRRDLoader.prototype, THREE.EventDispatcher.prototype, {
 			_data = parseDataAsText( _data );
 			_data = parseDataAsText( _data );
 
 
 		}
 		}
-        else if (headerObject.encoding === 'raw')
-        {
-            //we need to copy the array to create a new array buffer, else we retrieve the original arraybuffer with the header
-            var _copy = new Uint8Array(_data.length);
-            for (var i = 0; i < _data.length; i++) {
-                _copy[i] = _data[i];
-            }
-            _data = _copy;
-        }
+		else if (headerObject.encoding === 'raw')
+		{
+			//we need to copy the array to create a new array buffer, else we retrieve the original arraybuffer with the header
+			var _copy = new Uint8Array(_data.length);
+			for (var i = 0; i < _data.length; i++) {
+				_copy[i] = _data[i];
+			}
+			_data = _copy;
+		}
 		// .. let's use the underlying array buffer
 		// .. let's use the underlying array buffer
 		_data = _data.buffer;
 		_data = _data.buffer;