Преглед изворни кода

Remove duplicate case, and add missing semicolon in Volume

Tristan Valcke пре 8 година
родитељ
комит
57b27c0d1d
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      examples/js/Volume.js

+ 2 - 3
examples/js/Volume.js

@@ -75,7 +75,6 @@ THREE.Volume = function( xLength, yLength, zLength, type, arrayBuffer ) {
 			case 'uint32' :
 			case 'uint' :
 			case 'unsigned int' :
-			case 'uint32' :
 			case 'uint32_t' :
 				this.data = new Uint32Array( arrayBuffer );
 				break;
@@ -188,7 +187,7 @@ THREE.Volume = function( xLength, yLength, zLength, type, arrayBuffer ) {
 	 * @member {Array} RASDimensions This array holds the dimensions of the volume in the RAS space
 	 */
 
-}
+};
 
 THREE.Volume.prototype = {
 
@@ -445,4 +444,4 @@ THREE.Volume.prototype = {
 
 	}
 
-}
+};