瀏覽代碼

Remove unnecessary semicolons

brason 10 年之前
父節點
當前提交
b0f0c3bd1a
共有 43 個文件被更改,包括 192 次插入192 次删除
  1. 3 3
      examples/js/Car.js
  2. 3 3
      examples/js/MD2Character.js
  3. 3 3
      examples/js/MD2CharacterComplex.js
  4. 12 12
      examples/js/MarchingCubes.js
  5. 1 1
      examples/js/Ocean.js
  6. 1 1
      examples/js/UCSCharacter.js
  7. 1 1
      examples/js/WaterShader.js
  8. 1 1
      examples/js/controls/FirstPersonControls.js
  9. 1 1
      examples/js/controls/FlyControls.js
  10. 1 1
      examples/js/controls/VRControls.js
  11. 1 1
      examples/js/exporters/SceneExporter.js
  12. 1 1
      examples/js/loaders/AWDLoader.js
  13. 22 22
      examples/js/loaders/BinaryLoader.js
  14. 70 70
      examples/js/loaders/ColladaLoader.js
  15. 6 6
      examples/js/loaders/TGALoader.js
  16. 1 1
      examples/js/loaders/UTF8Loader.js
  17. 10 10
      examples/js/loaders/deprecated/SceneLoader.js
  18. 1 1
      examples/js/renderers/WebGLDeferredRenderer.js
  19. 1 1
      examples/js/renderers/plugins/DepthPassPlugin.js
  20. 1 1
      examples/js/wip/ProxyGeometry.js
  21. 4 4
      examples/misc_controls_fly.html
  22. 2 2
      examples/misc_fps.html
  23. 1 1
      examples/webgl_camera.html
  24. 1 1
      examples/webgl_decals.html
  25. 9 9
      examples/webgl_geometry_extrude_shapes2.html
  26. 2 2
      examples/webgl_materials_cubemap_dynamic.html
  27. 2 2
      examples/webgl_morphtargets_md2_control.html
  28. 4 4
      examples/webgl_objects_update.html
  29. 1 1
      examples/webgl_particles_shapes.html
  30. 1 1
      examples/webgl_shaders_sky.html
  31. 2 2
      examples/webgl_sprites.html
  32. 2 2
      examples/webgl_terrain_dynamic.html
  33. 1 1
      src/core/Geometry.js
  34. 2 2
      src/core/Object3D.js
  35. 1 1
      src/extras/FontUtils.js
  36. 1 1
      src/extras/core/CurvePath.js
  37. 2 2
      src/extras/core/Path.js
  38. 3 3
      src/loaders/JSONLoader.js
  39. 1 1
      src/math/Spline.js
  40. 1 1
      src/renderers/webgl/WebGLBuffers.js
  41. 5 5
      src/renderers/webgl/WebGLObjects.js
  42. 1 1
      src/renderers/webgl/WebGLShadowMap.js
  43. 2 2
      src/renderers/webgl/plugins/SpritePlugin.js

+ 3 - 3
examples/js/Car.js

@@ -246,7 +246,7 @@ THREE.Car = function () {
 
 		createCar();
 
-	};
+	}
 
 	function createWheels ( geometry, materials ) {
 
@@ -255,7 +255,7 @@ THREE.Car = function () {
 
 		createCar();
 
-	};
+	}
 
 	function createCar () {
 
@@ -360,7 +360,7 @@ THREE.Car = function () {
 
 		}
 
-	};
+	}
 
 	function quadraticEaseOut( k ) { return - k * ( k - 2 ); }
 	function cubicEaseOut( k ) { return -- k * k * k + 1; }

+ 3 - 3
examples/js/MD2Character.js

@@ -195,7 +195,7 @@ THREE.MD2Character = function () {
 
 		return textures;
 
-	};
+	}
 
 	function createPart( geometry, skinMap ) {
 
@@ -229,7 +229,7 @@ THREE.MD2Character = function () {
 
 		return mesh;
 
-	};
+	}
 
 	function checkLoadingComplete() {
 
@@ -237,6 +237,6 @@ THREE.MD2Character = function () {
 
 		if ( scope.loadCounter === 0 ) scope.onLoadComplete();
 
-	};
+	}
 
 };

+ 3 - 3
examples/js/MD2CharacterComplex.js

@@ -518,7 +518,7 @@ THREE.MD2CharacterComplex = function () {
 
 		return textures;
 
-	};
+	}
 
 	function createPart( geometry, skinMap ) {
 
@@ -546,14 +546,14 @@ THREE.MD2CharacterComplex = function () {
 
 		return mesh;
 
-	};
+	}
 
 	function checkLoadingComplete() {
 
 		scope.loadCounter -= 1;
 		if ( scope.loadCounter === 0 ) 	scope.onLoadComplete();
 
-	};
+	}
 
 	function exponentialEaseOut( k ) { return k === 1 ? 1 : - Math.pow( 2, - 10 * k ) + 1; }
 

+ 12 - 12
examples/js/MarchingCubes.js

@@ -196,7 +196,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( q1 );
 			this.VIntX( q * 3, this.vlist, this.nlist, 0, isol, fx, fy, fz, field0, field1 );
 
-		};
+		}
 
 		if ( bits & 2 ) {
 
@@ -204,7 +204,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( q1y );
 			this.VIntY( q1 * 3, this.vlist, this.nlist, 3, isol, fx2, fy, fz, field1, field3 );
 
-		};
+		}
 
 		if ( bits & 4 ) {
 
@@ -212,7 +212,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( q1y );
 			this.VIntX( qy * 3, this.vlist, this.nlist, 6, isol, fx, fy2, fz, field2, field3 );
 
-		};
+		}
 
 		if ( bits & 8 ) {
 
@@ -220,7 +220,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( qy );
 			this.VIntY( q * 3, this.vlist, this.nlist, 9, isol, fx, fy, fz, field0, field2 );
 
-		};
+		}
 
 		// bottom of the cube
 
@@ -230,7 +230,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( q1z );
 			this.VIntX( qz * 3, this.vlist, this.nlist, 12, isol, fx, fy, fz2, field4, field5 );
 
-		};
+		}
 
 		if ( bits & 32 ) {
 
@@ -238,7 +238,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( q1yz );
 			this.VIntY( q1z * 3,  this.vlist, this.nlist, 15, isol, fx2, fy, fz2, field5, field7 );
 
-		};
+		}
 
 		if ( bits & 64 ) {
 
@@ -246,7 +246,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( q1yz );
 			this.VIntX( qyz * 3, this.vlist, this.nlist, 18, isol, fx, fy2, fz2, field6, field7 );
 
-		};
+		}
 
 		if ( bits & 128 ) {
 
@@ -254,7 +254,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( qyz );
 			this.VIntY( qz * 3,  this.vlist, this.nlist, 21, isol, fx, fy, fz2, field4, field6 );
 
-		};
+		}
 
 		// vertical lines of the cube
 
@@ -264,7 +264,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( qz );
 			this.VIntZ( q * 3, this.vlist, this.nlist, 24, isol, fx, fy, fz, field0, field4 );
 
-		};
+		}
 
 		if ( bits & 512 ) {
 
@@ -272,7 +272,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( q1z );
 			this.VIntZ( q1 * 3,  this.vlist, this.nlist, 27, isol, fx2, fy,  fz, field1, field5 );
 
-		};
+		}
 
 		if ( bits & 1024 ) {
 
@@ -280,7 +280,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( q1yz );
 			this.VIntZ( q1y * 3, this.vlist, this.nlist, 30, isol, fx2, fy2, fz, field3, field7 );
 
-		};
+		}
 
 		if ( bits & 2048 ) {
 
@@ -288,7 +288,7 @@ THREE.MarchingCubes = function ( resolution, material, enableUvs, enableColors )
 			this.compNorm( qyz );
 			this.VIntZ( qy * 3, this.vlist, this.nlist, 33, isol, fx,  fy2, fz, field2, field6 );
 
-		};
+		}
 
 		cubeindex <<= 4;  // re-purpose cubeindex into an offset into triTable
 

+ 1 - 1
examples/js/Ocean.js

@@ -18,7 +18,7 @@
 	// Assign optional parameters as variables and object properties
 	function optionalParameter(value, defaultValue) {
 		return value !== undefined ? value : defaultValue;
-	};
+	}
 	options = options || {};
 	this.clearColor = optionalParameter(options.CLEAR_COLOR, [ 1.0, 1.0, 1.0, 0.0 ]);
 	this.geometryOrigin = optionalParameter(options.GEOMETRY_ORIGIN, [ -1000.0, -1000.0 ]);

+ 1 - 1
examples/js/UCSCharacter.js

@@ -89,7 +89,7 @@ THREE.UCSCharacter = function() {
 		}
 
 		return textures;
-	};
+	}
 
 	function createMaterials( skins ) {
 		var materials = [];

+ 1 - 1
examples/js/WaterShader.js

@@ -109,7 +109,7 @@ THREE.Water = function ( renderer, camera, scene, options ) {
 
 	function optionalParameter ( value, defaultValue ) {
 		return value !== undefined ? value : defaultValue;
-	};
+	}
 
 	options = options || {};
 	

+ 1 - 1
examples/js/controls/FirstPersonControls.js

@@ -271,7 +271,7 @@ THREE.FirstPersonControls = function ( object, domElement ) {
 
 		};
 
-	};
+	}
 
 	this.handleResize();
 

+ 1 - 1
examples/js/controls/FlyControls.js

@@ -252,7 +252,7 @@ THREE.FlyControls = function ( object, domElement ) {
 
 		};
 
-	};
+	}
 
 	this.domElement.addEventListener( 'contextmenu', function ( event ) { event.preventDefault(); }, false );
 

+ 1 - 1
examples/js/controls/VRControls.js

@@ -25,7 +25,7 @@ THREE.VRControls = function ( object, onError ) {
 
 		if ( onError ) onError( 'HMD not available' );
 
-	};
+	}
 
 	if ( navigator.getVRDevices ) {
 

+ 1 - 1
examples/js/exporters/SceneExporter.js

@@ -189,7 +189,7 @@ THREE.SceneExporter.prototype = {
 
 				if ( THREE[ constants[ i ] ] === c ) return LabelString( constants[ i ] );
 
-			};
+			}
 
 			return "";
 

+ 1 - 1
examples/js/loaders/AWDLoader.js

@@ -113,7 +113,7 @@ THREE.AWDLoader = (function () {
 		this._accuracyProps   = false;
 
 
-	};
+	}
 
 
 	AWDLoader.prototype = Object.create( THREE.Loader.prototype );

+ 22 - 22
examples/js/loaders/BinaryLoader.js

@@ -217,7 +217,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			return ( n % 4 ) ? ( 4 - n % 4 ) : 0;
 
-		};
+		}
 
 		function parseMetaData( data, offset ) {
 
@@ -294,7 +294,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			return metaData;
 
-		};
+		}
 
 		function parseString( data, offset, length ) {
 
@@ -310,7 +310,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			return text;
 
-		};
+		}
 
 		function parseUChar8( data, offset ) {
 
@@ -318,7 +318,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			return charArray[ 0 ];
 
-		};
+		}
 
 		function parseUInt32( data, offset ) {
 
@@ -326,7 +326,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			return intArray[ 0 ];
 
-		};
+		}
 
 		function init_vertices( start ) {
 
@@ -348,7 +348,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			return nElements * 3 * Float32Array.BYTES_PER_ELEMENT;
 
-		};
+		}
 
 		function init_normals( start ) {
 
@@ -374,7 +374,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			return nElements * 3 * Int8Array.BYTES_PER_ELEMENT;
 
-		};
+		}
 
 		function init_uvs( start ) {
 
@@ -399,7 +399,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			return nElements * 2 * Float32Array.BYTES_PER_ELEMENT;
 
-		};
+		}
 
 		function init_uvs3( nElements, offset ) {
 
@@ -430,7 +430,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_uvs4( nElements, offset ) {
 
@@ -471,7 +471,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_faces3_flat( nElements, offsetVertices, offsetMaterials ) {
 
@@ -492,7 +492,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_faces4_flat( nElements, offsetVertices, offsetMaterials ) {
 
@@ -515,7 +515,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_faces3_smooth( nElements, offsetVertices, offsetNormals, offsetMaterials ) {
 
@@ -558,7 +558,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_faces4_smooth( nElements, offsetVertices, offsetNormals, offsetMaterials ) {
 
@@ -613,7 +613,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_triangles_flat( start ) {
 
@@ -626,7 +626,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_triangles_flat_uv( start ) {
 
@@ -642,7 +642,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_triangles_smooth( start ) {
 
@@ -657,7 +657,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_triangles_smooth_uv( start ) {
 
@@ -674,7 +674,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_quads_flat( start ) {
 
@@ -687,7 +687,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_quads_flat_uv( start ) {
 
@@ -703,7 +703,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_quads_smooth( start ) {
 
@@ -718,7 +718,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 		function init_quads_smooth_uv( start ) {
 
@@ -735,7 +735,7 @@ THREE.BinaryLoader.prototype.createBinModel = function ( data, callback, texture
 
 			}
 
-		};
+		}
 
 	};
 

+ 70 - 70
examples/js/loaders/ColladaLoader.js

@@ -442,7 +442,7 @@ THREE.ColladaLoader = function () {
 
 		geometry.morphTargets.push( { name: "target_Z", vertices: geometry.vertices } );
 
-	};
+	}
 
 	function createSkin ( geometry, ctrl, applyBindShape ) {
 
@@ -826,7 +826,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	function createKinematics() {
 
@@ -1031,7 +1031,7 @@ THREE.ColladaLoader = function () {
 			}
 		}
 
-	};
+	}
 
 	function createSceneGraph ( node, parent ) {
 
@@ -1325,7 +1325,7 @@ THREE.ColladaLoader = function () {
 
 		return obj;
 
-	};
+	}
 
 	function getJointId( skin, id ) {
 
@@ -1339,7 +1339,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	function getLibraryNode( id ) {
 
@@ -1359,7 +1359,7 @@ THREE.ColladaLoader = function () {
 
 		return undefined;
 
-	};
+	}
 
 	function getChannelsForNode ( node ) {
 
@@ -1400,7 +1400,7 @@ THREE.ColladaLoader = function () {
 
 		return channels;
 
-	};
+	}
 
 	function calcFrameDuration( node ) {
 
@@ -1421,7 +1421,7 @@ THREE.ColladaLoader = function () {
 
 		return minT;
 
-	};
+	}
 
 	function calcMatrixAt( node, t ) {
 
@@ -1490,7 +1490,7 @@ THREE.ColladaLoader = function () {
 
 		return matrix;
 
-	};
+	}
 
 	function bakeAnimations ( node ) {
 
@@ -1582,7 +1582,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	function findKey ( keys, time) {
 
@@ -1606,7 +1606,7 @@ THREE.ColladaLoader = function () {
 
 		return retVal;
 
-	};
+	}
 
 	function findTimeNdx ( keys, time) {
 
@@ -1626,7 +1626,7 @@ THREE.ColladaLoader = function () {
 
 		return ndx;
 
-	};
+	}
 
 	function interpolateKeys ( keys, key, ndx, fullSid ) {
 
@@ -1665,7 +1665,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	// Get next key with given sid
 
@@ -1685,7 +1685,7 @@ THREE.ColladaLoader = function () {
 
 		return null;
 
-	};
+	}
 
 	// Get previous key with given sid
 
@@ -1707,14 +1707,14 @@ THREE.ColladaLoader = function () {
 
 		return null;
 
-	};
+	}
 
 	function _Image() {
 
 		this.id = "";
 		this.init_from = "";
 
-	};
+	}
 
 	_Image.prototype.parse = function(element) {
 
@@ -1744,7 +1744,7 @@ THREE.ColladaLoader = function () {
 		this.skin = null;
 		this.morph = null;
 
-	};
+	}
 
 	Controller.prototype.parse = function( element ) {
 
@@ -1787,7 +1787,7 @@ THREE.ColladaLoader = function () {
 		this.targets = null;
 		this.weights = null;
 
-	};
+	}
 
 	Morph.prototype.parse = function( element ) {
 
@@ -1885,7 +1885,7 @@ THREE.ColladaLoader = function () {
 		this.joints = [];
 		this.weights = [];
 
-	};
+	}
 
 	Skin.prototype.parse = function( element ) {
 
@@ -2066,7 +2066,7 @@ THREE.ColladaLoader = function () {
 		this.nodes = [];
 		this.scene = new THREE.Group();
 
-	};
+	}
 
 	VisualScene.prototype.getChildById = function( id, recursive ) {
 
@@ -2145,7 +2145,7 @@ THREE.ColladaLoader = function () {
 		this.channels = [];
 		this.matrix = new THREE.Matrix4();
 
-	};
+	}
 
 	Node.prototype.getChannelForTransform = function( transformSid ) {
 
@@ -2374,7 +2374,7 @@ THREE.ColladaLoader = function () {
 		this.data = [];
 		this.obj = null;
 
-	};
+	}
 
 	Transform.prototype.parse = function ( element ) {
 
@@ -2613,7 +2613,7 @@ THREE.ColladaLoader = function () {
 		this.skeleton = [];
 		this.instance_material = [];
 
-	};
+	}
 
 	InstanceController.prototype.parse = function ( element ) {
 
@@ -2665,7 +2665,7 @@ THREE.ColladaLoader = function () {
 		this.symbol = "";
 		this.target = "";
 
-	};
+	}
 
 	InstanceMaterial.prototype.parse = function ( element ) {
 
@@ -2680,7 +2680,7 @@ THREE.ColladaLoader = function () {
 		this.url = "";
 		this.instance_material = [];
 
-	};
+	}
 
 	InstanceGeometry.prototype.parse = function ( element ) {
 
@@ -2718,7 +2718,7 @@ THREE.ColladaLoader = function () {
 		this.id = "";
 		this.mesh = null;
 
-	};
+	}
 
 	Geometry.prototype.parse = function ( element ) {
 
@@ -2758,7 +2758,7 @@ THREE.ColladaLoader = function () {
 		this.vertices = null;
 		this.geometry3js = null;
 
-	};
+	}
 
 	Mesh.prototype.parse = function ( element ) {
 
@@ -3117,7 +3117,7 @@ THREE.ColladaLoader = function () {
 		this.p = [];
 		this.geometry = new THREE.Geometry();
 
-	};
+	}
 
 	Polygons.prototype.setVertices = function ( vertices ) {
 
@@ -3181,7 +3181,7 @@ THREE.ColladaLoader = function () {
 
 		this.vcount = [];
 
-	};
+	}
 
 	Polylist.prototype = Object.create( Polygons.prototype );
 	Polylist.prototype.constructor = Polylist;
@@ -3192,7 +3192,7 @@ THREE.ColladaLoader = function () {
 
 		this.vcount = 1;
 
-	};
+	}
 
 	LineStrips.prototype = Object.create( Polygons.prototype );
 	LineStrips.prototype.constructor = LineStrips;
@@ -3203,7 +3203,7 @@ THREE.ColladaLoader = function () {
 
 		this.vcount = 3;
 
-	};
+	}
 
 	Triangles.prototype = Object.create( Polygons.prototype );
 	Triangles.prototype.constructor = Triangles;
@@ -3215,7 +3215,7 @@ THREE.ColladaLoader = function () {
 		this.stride = 0;
 		this.params = [];
 
-	};
+	}
 
 	Accessor.prototype.parse = function ( element ) {
 
@@ -3247,7 +3247,7 @@ THREE.ColladaLoader = function () {
 
 		this.input = {};
 
-	};
+	}
 
 	Vertices.prototype.parse = function ( element ) {
 
@@ -3275,7 +3275,7 @@ THREE.ColladaLoader = function () {
 		this.source = "";
 		this.set = 0;
 
-	};
+	}
 
 	Input.prototype.parse = function ( element ) {
 
@@ -3299,7 +3299,7 @@ THREE.ColladaLoader = function () {
 		this.id = id;
 		this.type = null;
 
-	};
+	}
 
 	Source.prototype.parse = function ( element ) {
 
@@ -3409,7 +3409,7 @@ THREE.ColladaLoader = function () {
 		this.name = "";
 		this.instance_effect = null;
 
-	};
+	}
 
 	Material.prototype.parse = function ( element ) {
 
@@ -3441,7 +3441,7 @@ THREE.ColladaLoader = function () {
 		this.texcoord = null;
 		this.texOpts = null;
 
-	};
+	}
 
 	ColorOrTexture.prototype.isColor = function () {
 
@@ -3575,7 +3575,7 @@ THREE.ColladaLoader = function () {
 		this.effect = effect;
 		this.material = null;
 
-	};
+	}
 
 	Shader.prototype.parse = function ( element ) {
 
@@ -3817,7 +3817,7 @@ THREE.ColladaLoader = function () {
 		this.init_from = null;
 		this.format = null;
 
-	};
+	}
 
 	Surface.prototype.parse = function ( element ) {
 
@@ -3861,7 +3861,7 @@ THREE.ColladaLoader = function () {
 		this.magfilter = null;
 		this.mipfilter = null;
 
-	};
+	}
 
 	Sampler2D.prototype.parse = function ( element ) {
 
@@ -3923,7 +3923,7 @@ THREE.ColladaLoader = function () {
 		this.surface = {};
 		this.sampler = {};
 
-	};
+	}
 
 	Effect.prototype.create = function () {
 
@@ -4126,7 +4126,7 @@ THREE.ColladaLoader = function () {
 
 		this.url = "";
 
-	};
+	}
 
 	InstanceEffect.prototype.parse = function ( element ) {
 
@@ -4143,7 +4143,7 @@ THREE.ColladaLoader = function () {
 		this.sampler = [];
 		this.channel = [];
 
-	};
+	}
 
 	Animation.prototype.parse = function ( element ) {
 
@@ -4217,7 +4217,7 @@ THREE.ColladaLoader = function () {
 		this.arrIndices = null;
 		this.member = null;
 
-	};
+	}
 
 	Channel.prototype.parse = function ( element ) {
 
@@ -4278,7 +4278,7 @@ THREE.ColladaLoader = function () {
 		this.endTime = null;
 		this.duration = 0;
 
-	};
+	}
 
 	Sampler.prototype.parse = function ( element ) {
 
@@ -4433,7 +4433,7 @@ THREE.ColladaLoader = function () {
 		this.targets = [];
 		this.time = time;
 
-	};
+	}
 
 	Key.prototype.addTarget = function ( fullSid, transform, member, data ) {
 
@@ -4547,7 +4547,7 @@ THREE.ColladaLoader = function () {
 		this.name = "";
 		this.technique = "";
 
-	};
+	}
 
 	Camera.prototype.parse = function ( element ) {
 
@@ -4665,7 +4665,7 @@ THREE.ColladaLoader = function () {
 
 		this.url = "";
 
-	};
+	}
 
 	InstanceCamera.prototype.parse = function ( element ) {
 
@@ -4683,7 +4683,7 @@ THREE.ColladaLoader = function () {
 		this.name = "";
 		this.technique = "";
 
-	};
+	}
 
 	Light.prototype.parse = function ( element ) {
 
@@ -4794,7 +4794,7 @@ THREE.ColladaLoader = function () {
 
 		this.url = "";
 
-	};
+	}
 
 	InstanceLight.prototype.parse = function ( element ) {
 
@@ -5042,7 +5042,7 @@ THREE.ColladaLoader = function () {
 		sources[ id ] = ( new Source(id )).parse( element );
 		return sources[ id ];
 
-	};
+	}
 
 	function _nsResolver( nsPrefix ) {
 
@@ -5054,7 +5054,7 @@ THREE.ColladaLoader = function () {
 
 		return null;
 
-	};
+	}
 
 	function _bools( str ) {
 
@@ -5069,7 +5069,7 @@ THREE.ColladaLoader = function () {
 
 		return data;
 
-	};
+	}
 
 	function _floats( str ) {
 
@@ -5084,7 +5084,7 @@ THREE.ColladaLoader = function () {
 
 		return data;
 
-	};
+	}
 
 	function _ints( str ) {
 
@@ -5099,19 +5099,19 @@ THREE.ColladaLoader = function () {
 
 		return data;
 
-	};
+	}
 
 	function _strings( str ) {
 
 		return ( str.length > 0 ) ? _trimString( str ).split( /\s+/ ) : [];
 
-	};
+	}
 
 	function _trimString( str ) {
 
 		return str.replace( /^\s+/, "" ).replace( /\s+$/, "" );
 
-	};
+	}
 
 	function _attr_as_float( element, name, defaultValue ) {
 
@@ -5125,7 +5125,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	function _attr_as_int( element, name, defaultValue ) {
 
@@ -5139,7 +5139,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	function _attr_as_string( element, name, defaultValue ) {
 
@@ -5153,7 +5153,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	function _format_float( f, num ) {
 
@@ -5184,7 +5184,7 @@ THREE.ColladaLoader = function () {
 
 		return parts.join( '.' );
 
-	};
+	}
 
 	function loadTextureImage ( texture, url ) {
 
@@ -5197,7 +5197,7 @@ THREE.ColladaLoader = function () {
 
 		} );
 
-	};
+	}
 
 	function extractDoubleSided( obj, element ) {
 
@@ -5215,7 +5215,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	// Up axis conversion
 
@@ -5248,7 +5248,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	function fixCoords( data, sign ) {
 
@@ -5306,7 +5306,7 @@ THREE.ColladaLoader = function () {
 
 		}
 
-	};
+	}
 
 	function getConvertedTranslation( axis, data ) {
 
@@ -5331,7 +5331,7 @@ THREE.ColladaLoader = function () {
 		}
 
 		return data;
-	};
+	}
 
 	function getConvertedVec3( data, offset ) {
 
@@ -5339,7 +5339,7 @@ THREE.ColladaLoader = function () {
 		fixCoords( arr, -1 );
 		return new THREE.Vector3( arr[ 0 ], arr[ 1 ], arr[ 2 ] );
 
-	};
+	}
 
 	function getConvertedMat4( data ) {
 
@@ -5396,7 +5396,7 @@ THREE.ColladaLoader = function () {
 			data[12], data[13], data[14], data[15]
 			);
 
-	};
+	}
 
 	function getConvertedIndex( index ) {
 
@@ -5412,7 +5412,7 @@ THREE.ColladaLoader = function () {
 
 		return index;
 
-	};
+	}
 
 	function getConvertedMember( member ) {
 
@@ -5488,7 +5488,7 @@ THREE.ColladaLoader = function () {
 
 		return member;
 
-	};
+	}
 
 	return {
 

+ 6 - 6
examples/js/loaders/TGALoader.js

@@ -228,7 +228,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) {
 
 		return imageData;
 
-	};
+	}
 
 	function tgaGetImageData16bits(imageData, y_start, y_step, y_end, x_start, x_step, x_end, image) {
 
@@ -247,7 +247,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) {
 
 		return imageData;
 
-	};
+	}
 
 	function tgaGetImageData24bits(imageData, y_start, y_step, y_end, x_start, x_step, x_end, image) {
 
@@ -265,7 +265,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) {
 
 		return imageData;
 
-	};
+	}
 
 	function tgaGetImageData32bits(imageData, y_start, y_step, y_end, x_start, x_step, x_end, image) {
 
@@ -283,7 +283,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) {
 
 		return imageData;
 
-	};
+	}
 
 	function tgaGetImageDataGrey8bits( imageData, y_start, y_step, y_end, x_start, x_step, x_end, image ) {
 
@@ -302,7 +302,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) {
 
 		return imageData;
 
-	};
+	}
 
 	function tgaGetImageDataGrey16bits(imageData, y_start, y_step, y_end, x_start, x_step, x_end, image) {
 
@@ -320,7 +320,7 @@ THREE.TGALoader.prototype._parser = function ( buffer ) {
 
 		return imageData;
 
-	};
+	}
 
 	function getTgaRGBA( width, height, image, palette ) {
 

+ 1 - 1
examples/js/loaders/UTF8Loader.js

@@ -577,7 +577,7 @@ THREE.UTF8Loader.prototype.downloadMesh = function ( path, name, meshEntry, deco
 
 		}
 
-	};
+	}
 
 	getHttpRequest( path, function( req, e ) {
 

+ 10 - 10
examples/js/loaders/deprecated/SceneLoader.js

@@ -155,7 +155,7 @@ THREE.SceneLoader.prototype = {
 
 			}
 
-		};
+		}
 
 		// toplevel loader function, delegates to handle_children
 
@@ -515,7 +515,7 @@ THREE.SceneLoader.prototype = {
 
 			}
 
-		};
+		}
 
 		function handle_mesh( geo, mat, id ) {
 
@@ -523,7 +523,7 @@ THREE.SceneLoader.prototype = {
 			result.face_materials[ id ] = mat;
 			handle_objects();
 
-		};
+		}
 
 		function handle_hierarchy( node, id, parent, material, obj ) {
 
@@ -577,7 +577,7 @@ THREE.SceneLoader.prototype = {
 			result.objects[ id ] = node;
 			handle_objects();
 
-		};
+		}
 
 		function create_callback_geometry( id ) {
 
@@ -595,7 +595,7 @@ THREE.SceneLoader.prototype = {
 
 			}
 
-		};
+		}
 
 		function create_callback_hierachy( id, parent, material, obj ) {
 
@@ -634,7 +634,7 @@ THREE.SceneLoader.prototype = {
 
 			}
 
-		};
+		}
 
 		function create_callback_embed( id ) {
 
@@ -647,7 +647,7 @@ THREE.SceneLoader.prototype = {
 
 			}
 
-		};
+		}
 
 		function async_callback_gate() {
 
@@ -671,7 +671,7 @@ THREE.SceneLoader.prototype = {
 
 			}
 
-		};
+		}
 
 		function finalize() {
 
@@ -702,7 +702,7 @@ THREE.SceneLoader.prototype = {
 
 			}
 
-		};
+		}
 
 		var callbackTexture = function ( count ) {
 
@@ -740,7 +740,7 @@ THREE.SceneLoader.prototype = {
 
 			}
 
-		};
+		}
 
 		// first go synchronous elements
 

+ 1 - 1
examples/js/renderers/WebGLDeferredRenderer.js

@@ -966,7 +966,7 @@ THREE.WebGLDeferredRenderer = function ( parameters ) {
 
 		}
 
-	};
+	}
 
 	this.render = function ( scene, camera ) {
 

+ 1 - 1
examples/js/renderers/plugins/DepthPassPlugin.js

@@ -225,6 +225,6 @@ THREE.DepthPassPlugin = function () {
 			? object.material.materials[ 0 ]
 			: object.material;
 
-	};
+	}
 
 };

+ 1 - 1
examples/js/wip/ProxyGeometry.js

@@ -578,7 +578,7 @@ THREE.ProxyGeometry.prototype.mergeVertices = function () {
 
 		}
 
-	};
+	}
 
 
 	// if faces are completely degenerate after merging vertices, we

+ 4 - 4
examples/misc_controls_fly.html

@@ -240,7 +240,7 @@
 				composer.addPass( renderModel );
 				composer.addPass( effectFilm );
 
-			};
+			}
 
 			function onWindowResize( event ) {
 
@@ -254,7 +254,7 @@
 
 				composer.reset();
 
-			};
+			}
 
 			function animate() {
 
@@ -263,7 +263,7 @@
 				render();
 				stats.update();
 
-			};
+			}
 
 			function render() {
 
@@ -297,7 +297,7 @@
 				renderer.clear();
 				composer.render( delta );
 
-			};
+			}
 
 		</script>
 	</body>

+ 2 - 2
examples/misc_fps.html

@@ -227,7 +227,7 @@
 						uniforms : skyboxShader.uniforms, depthWrite : false, side : THREE.BackSide
 					})
 				);
-			};
+			}
 
 			function makePlatform( jsonUrl, textureUrl, textureQuality ) {
 				var placeholder = new THREE.Object3D();
@@ -249,7 +249,7 @@
 				});
 
 				return placeholder;
-			};
+			}
 
 			var renderer = new THREE.WebGLRenderer({ antialias : true });
 			renderer.setPixelRatio( window.devicePixelRatio );

+ 1 - 1
examples/webgl_camera.html

@@ -176,7 +176,7 @@
 
 				}
 
-			};
+			}
 
 			//
 

+ 1 - 1
examples/webgl_decals.html

@@ -296,7 +296,7 @@
 			} );
 			decals = [];
 
-		};
+		}
 
 		function mergeDecals() {
 

+ 9 - 9
examples/webgl_geometry_extrude_shapes2.html

@@ -407,7 +407,7 @@ var initSVGObject = function() {
 		camera.updateProjectionMatrix();
 
 		renderer.setSize( window.innerWidth, window.innerHeight );
-	};
+	}
 
 	function onDocumentMouseDown( event ) {
 
@@ -419,28 +419,28 @@ var initSVGObject = function() {
 
 		mouseXOnMouseDown = event.clientX - windowHalfX;
 		targetRotationOnMouseDown = targetRotation;
-	};
+	}
 
 	function onDocumentMouseMove( event ) {
 
 		mouseX = event.clientX - windowHalfX;
 
 		targetRotation = targetRotationOnMouseDown + ( mouseX - mouseXOnMouseDown ) * 0.02;
-	};
+	}
 
 	function onDocumentMouseUp( event ) {
 
 		document.removeEventListener( 'mousemove', onDocumentMouseMove, false );
 		document.removeEventListener( 'mouseup', onDocumentMouseUp, false );
 		document.removeEventListener( 'mouseout', onDocumentMouseOut, false );
-	};
+	}
 
 	function onDocumentMouseOut( event ) {
 
 		document.removeEventListener( 'mousemove', onDocumentMouseMove, false );
 		document.removeEventListener( 'mouseup', onDocumentMouseUp, false );
 		document.removeEventListener( 'mouseout', onDocumentMouseOut, false );
-	};
+	}
 
 	function onDocumentTouchStart( event ) {
 
@@ -451,7 +451,7 @@ var initSVGObject = function() {
 			mouseXOnMouseDown = event.touches[ 0 ].pageX - windowHalfX;
 			targetRotationOnMouseDown = targetRotation;
 		}
-	};
+	}
 
 	function onDocumentTouchMove( event ) {
 
@@ -462,7 +462,7 @@ var initSVGObject = function() {
 			mouseX = event.touches[ 0 ].pageX - windowHalfX;
 			targetRotation = targetRotationOnMouseDown + ( mouseX - mouseXOnMouseDown ) * 0.05;
 		}
-	};
+	}
 
 	function animate() {
 
@@ -471,13 +471,13 @@ var initSVGObject = function() {
 
 		render();
 		stats.update();
-	};
+	}
 
 	function render() {
 
 		group.rotation.y += ( targetRotation - group.rotation.y ) * 0.05;
 		renderer.render( scene, camera );
-	};
+	}
 </script>
 
 

+ 2 - 2
examples/webgl_materials_cubemap_dynamic.html

@@ -791,7 +791,7 @@
 
 				}
 
-			};
+			}
 
 			function onKeyUp ( event ) {
 
@@ -811,7 +811,7 @@
 
 				}
 
-			};
+			}
 
 
 			//

+ 2 - 2
examples/webgl_morphtargets_md2_control.html

@@ -300,7 +300,7 @@
 
 				}
 
-			};
+			}
 
 			function onKeyUp ( event ) {
 
@@ -324,7 +324,7 @@
 
 				}
 
-			};
+			}
 
 			//
 

+ 4 - 4
examples/webgl_objects_update.html

@@ -175,7 +175,7 @@
 					
 				}
 				object.geometry.groupsNeedUpdate = true;
-			};
+			}
 
 			function render() {
 
@@ -191,7 +191,7 @@
 					
 						scene.add(objectToggleAddRemove);
 						
-					};
+					}
 					
 				} else {
 					
@@ -202,9 +202,9 @@
 					
 						scene.remove(objectToggleAddRemove);
 						
-					};
+					}
 					
-				};
+				}
 
 				camera.lookAt( scene.position );
 

+ 1 - 1
examples/webgl_particles_shapes.html

@@ -432,7 +432,7 @@
 						pointLight.color.setHSL( hue, 0.8, 0.5 );
 
 
-					};
+					}
 
 				};
 

+ 1 - 1
examples/webgl_shaders_sky.html

@@ -125,7 +125,7 @@
 				gui.add( effectController, "reileigh", 0.0, 4, 0.001 ).onChange( guiChanged );
 				gui.add( effectController, "mieCoefficient", 0.0, 0.1, 0.001 ).onChange( guiChanged );
 				gui.add( effectController, "mieDirectionalG", 0.0, 1, 0.001 ).onChange( guiChanged );
-				gui.add( effectController, "luminance", 0.0, 2).onChange( guiChanged );;
+				gui.add( effectController, "luminance", 0.0, 2).onChange( guiChanged );
 				gui.add( effectController, "inclination", 0, 1, 0.0001).onChange( guiChanged );
 				gui.add( effectController, "azimuth", 0, 1, 0.0001).onChange( guiChanged );
 				gui.add( effectController, "sun").onChange( guiChanged );

+ 2 - 2
examples/webgl_sprites.html

@@ -136,7 +136,7 @@
 
 				updateHUDSprites();
 
-			};
+			}
 
 			function updateHUDSprites () {
 
@@ -154,7 +154,7 @@
 				spriteBR.position.set(   width - imageWidth, - height + imageHeight, 1 ); // bottom right
 				spriteC.position.set( 0, 0, 1 ); // center
 
-			};
+			}
 
 			function onWindowResize() {
 

+ 2 - 2
examples/webgl_terrain_dynamic.html

@@ -588,7 +588,7 @@
 
 				}
 
-			};
+			}
 
 			//
 
@@ -613,7 +613,7 @@
 
 				renderer.render( sceneTmp, cameraOrtho, target, true );
 
-			};
+			}
 
 			//
 

+ 1 - 1
src/core/Geometry.js

@@ -739,7 +739,7 @@ THREE.Geometry.prototype = {
 
 			}
 
-		};
+		}
 
 
 		// if faces are completely degenerate after merging vertices, we

+ 2 - 2
src/core/Object3D.js

@@ -309,7 +309,7 @@ THREE.Object3D.prototype = {
 
 			return this;
 
-		};
+		}
 
 		if ( object === this ) {
 
@@ -351,7 +351,7 @@ THREE.Object3D.prototype = {
 
 			}
 
-		};
+		}
 
 		var index = this.children.indexOf( object );
 

+ 1 - 1
src/extras/FontUtils.js

@@ -41,7 +41,7 @@ THREE.FontUtils = {
 
 			throw "The font " + this.face + " with " + this.weight + " weight and " + this.style + " style is missing."
 
-		};
+		}
 
 	},
 

+ 1 - 1
src/extras/core/CurvePath.js

@@ -111,7 +111,7 @@ THREE.CurvePath.prototype.getCurveLengths = function() {
 
 		return this.cacheLengths;
 
-	};
+	}
 
 	// Get length of subsurve
 	// Push sums into cached array

+ 2 - 2
src/extras/core/Path.js

@@ -45,7 +45,7 @@ THREE.Path.prototype.fromPoints = function ( vectors ) {
 
 		this.lineTo( vectors[ v ].x, vectors[ v ].y );
 
-	};
+	}
 
 };
 
@@ -508,7 +508,7 @@ THREE.Path.prototype.toShapes = function( isCCW, noHoles ) {
 		//THREE.log("shape", shapes);
 
 		return shapes;
-	};
+	}
 
 	function isPointInsidePolygon( inPt, inPolygon ) {
 		var EPSILON = 0.0000000001;

+ 3 - 3
src/loaders/JSONLoader.js

@@ -421,7 +421,7 @@ THREE.JSONLoader.prototype.parse = function ( json, texturePath ) {
 
 		}
 
-	};
+	}
 
 	function parseSkin() {
 		var influencesPerVertex = ( json.influencesPerVertex !== undefined ) ? json.influencesPerVertex : 2;
@@ -471,7 +471,7 @@ THREE.JSONLoader.prototype.parse = function ( json, texturePath ) {
 		geometry.animation = json.animation;
 		geometry.animations = json.animations;
 
-	};
+	}
 
 	function parseMorphing( scale ) {
 
@@ -528,7 +528,7 @@ THREE.JSONLoader.prototype.parse = function ( json, texturePath ) {
 
 		}
 
-	};
+	}
 
 	if ( json.materials === undefined || json.materials.length === 0 ) {
 

+ 1 - 1
src/math/Spline.js

@@ -171,6 +171,6 @@ THREE.Spline = function ( points ) {
 
 		return ( 2 * ( p1 - p2 ) + v0 + v1 ) * t3 + ( - 3 * ( p1 - p2 ) - 2 * v0 - v1 ) * t2 + v0 * t + p1;
 
-	};
+	}
 
 };

+ 1 - 1
src/renderers/webgl/WebGLBuffers.js

@@ -51,7 +51,7 @@ THREE.WebGLBuffers = function ( gl, info, extensions, getBufferMaterial ) {
 
 		}
 
-	};
+	}
 
 	this.initPointCloudBuffers = function ( geometry, object ) {
 

+ 5 - 5
src/renderers/webgl/WebGLObjects.js

@@ -158,7 +158,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) {
 			}
 		);
 
-	};
+	}
 
 	function addBufferImmediate( objlist, object ) {
 
@@ -172,7 +172,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) {
 			}
 		);
 
-	};
+	}
 
 	//
 
@@ -213,7 +213,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) {
 
 		} );
 
-	};
+	}
 
 	function removeObject( object ) {
 
@@ -261,7 +261,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) {
 
 		deallocateGeometry( geometry );
 
-	};
+	}
 
 	function deallocateGeometry( geometry ) {
 
@@ -333,7 +333,7 @@ THREE.WebGLObjects = function ( gl, info, extensions, getBufferMaterial ) {
 
 		}
 
-	};
+	}
 
 	//
 

+ 1 - 1
src/renderers/webgl/WebGLShadowMap.js

@@ -528,6 +528,6 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
 			? object.material.materials[ 0 ]
 			: object.material;
 
-	};
+	}
 
 };

+ 2 - 2
src/renderers/webgl/plugins/SpritePlugin.js

@@ -345,7 +345,7 @@ THREE.SpritePlugin = function ( renderer, sprites ) {
 
 		return program;
 
-	};
+	}
 
 	function painterSortStable ( a, b ) {
 
@@ -359,6 +359,6 @@ THREE.SpritePlugin = function ( renderer, sprites ) {
 
 		}
 
-	};
+	}
 
 };