Explorar o código

Merge pull request #6345 from brason/semicolons

Add and remove semicolons
Ricardo Cabello %!s(int64=10) %!d(string=hai) anos
pai
achega
320baf9c27
Modificáronse 100 ficheiros con 391 adicións e 391 borrados
  1. 12 12
      examples/canvas_geometry_birds.html
  2. 2 2
      examples/canvas_interactive_particles.html
  3. 1 1
      examples/canvas_lights_pointlights.html
  4. 2 2
      examples/canvas_materials.html
  5. 1 1
      examples/canvas_materials_video.html
  6. 1 1
      examples/canvas_particles_random.html
  7. 1 1
      examples/canvas_particles_shapes.html
  8. 1 1
      examples/canvas_particles_sprites.html
  9. 1 1
      examples/css3d_sprites.html
  10. 1 1
      examples/js/AudioObject.js
  11. 4 4
      examples/js/BlendCharacter.js
  12. 10 10
      examples/js/BlendCharacterGui.js
  13. 3 3
      examples/js/Car.js
  14. 2 2
      examples/js/Cloth.js
  15. 1 1
      examples/js/CurveExtras.js
  16. 1 1
      examples/js/ImprovedNoise.js
  17. 5 5
      examples/js/MD2Character.js
  18. 5 5
      examples/js/MD2CharacterComplex.js
  19. 13 13
      examples/js/MarchingCubes.js
  20. 1 1
      examples/js/Ocean.js
  21. 1 1
      examples/js/SimplexNoise.js
  22. 4 4
      examples/js/SimulationRenderer.js
  23. 3 3
      examples/js/Sparks.js
  24. 3 3
      examples/js/UCSCharacter.js
  25. 1 1
      examples/js/WaterShader.js
  26. 2 2
      examples/js/cameras/CombinedCamera.js
  27. 1 1
      examples/js/controls/EditorControls.js
  28. 1 1
      examples/js/controls/FirstPersonControls.js
  29. 1 1
      examples/js/controls/FlyControls.js
  30. 1 1
      examples/js/controls/MouseControls.js
  31. 1 1
      examples/js/controls/OrthographicTrackballControls.js
  32. 1 1
      examples/js/controls/VRControls.js
  33. 1 1
      examples/js/crossfade/scenes.js
  34. 3 3
      examples/js/crossfade/transition.js
  35. 1 1
      examples/js/curves/NURBSSurface.js
  36. 1 1
      examples/js/exporters/OBJExporter.js
  37. 2 2
      examples/js/exporters/SceneExporter.js
  38. 7 7
      examples/js/geometries/DecalGeometry.js
  39. 1 1
      examples/js/libs/msgpack-js.js
  40. 33 33
      examples/js/loaders/AWDLoader.js
  41. 1 1
      examples/js/loaders/AssimpJSONLoader.js
  42. 22 22
      examples/js/loaders/BinaryLoader.js
  43. 71 71
      examples/js/loaders/ColladaLoader.js
  44. 1 1
      examples/js/loaders/MTLLoader.js
  45. 1 1
      examples/js/loaders/OBJLoader.js
  46. 1 1
      examples/js/loaders/OBJMTLLoader.js
  47. 1 1
      examples/js/loaders/PDBLoader.js
  48. 4 4
      examples/js/loaders/PLYLoader.js
  49. 6 6
      examples/js/loaders/PVRLoader.js
  50. 1 1
      examples/js/loaders/STLLoader.js
  51. 6 6
      examples/js/loaders/TGALoader.js
  52. 1 1
      examples/js/loaders/UTF8Loader.js
  53. 5 5
      examples/js/loaders/VRMLLoader.js
  54. 3 3
      examples/js/loaders/ctm/CTMLoader.js
  55. 1 1
      examples/js/loaders/ctm/CTMWorker.js
  56. 12 12
      examples/js/loaders/deprecated/SceneLoader.js
  57. 8 8
      examples/js/loaders/gltf/glTFAnimation.js
  58. 10 10
      examples/js/loaders/gltf/glTFLoader.js
  59. 1 1
      examples/js/loaders/gltf/glTFLoaderUtils.js
  60. 1 1
      examples/js/modifiers/ExplodeModifier.js
  61. 1 1
      examples/js/modifiers/SubdivisionModifier.js
  62. 1 1
      examples/js/renderers/CanvasRenderer.js
  63. 2 2
      examples/js/renderers/Projector.js
  64. 2 2
      examples/js/renderers/RaytracingRenderer.js
  65. 1 1
      examples/js/renderers/SVGRenderer.js
  66. 1 1
      examples/js/renderers/WebGLDeferredRenderer.js
  67. 1 1
      examples/js/renderers/plugins/DepthPassPlugin.js
  68. 2 2
      examples/js/utils/GeometryUtils.js
  69. 2 2
      examples/js/utils/ShadowMapViewer.js
  70. 1 1
      examples/js/utils/UVsDebug.js
  71. 19 19
      examples/js/wip/ProxyGeometry.js
  72. 5 5
      examples/js/wip/benchmark/Geometry4.js
  73. 1 1
      examples/js/wip/benchmark/TypedGeometry.js
  74. 2 2
      examples/js/wip/proxies/MultiColor.js
  75. 2 2
      examples/js/wip/proxies/MultiVector3.js
  76. 1 1
      examples/js/wip/proxies/ProxyColor.js
  77. 1 1
      examples/js/wip/proxies/ProxyFace3.js
  78. 1 1
      examples/misc_animation_keys.html
  79. 1 1
      examples/misc_controls_deviceorientation.html
  80. 4 4
      examples/misc_controls_fly.html
  81. 3 3
      examples/misc_controls_pointerlock.html
  82. 3 3
      examples/misc_fps.html
  83. 1 1
      examples/misc_sound.html
  84. 2 2
      examples/raytracing_sandbox.html
  85. 1 1
      examples/webgl_buffergeometry_drawcalls.html
  86. 1 1
      examples/webgl_camera.html
  87. 1 1
      examples/webgl_decals.html
  88. 9 9
      examples/webgl_effects_parallaxbarrier.html
  89. 1 1
      examples/webgl_geometry_dynamic.html
  90. 9 9
      examples/webgl_geometry_extrude_shapes2.html
  91. 1 1
      examples/webgl_geometry_normals.html
  92. 2 2
      examples/webgl_gpgpu_birds.html
  93. 1 1
      examples/webgl_interactive_particles.html
  94. 1 1
      examples/webgl_lensflares.html
  95. 1 1
      examples/webgl_lights_hemisphere.html
  96. 1 1
      examples/webgl_loader_awd.html
  97. 4 4
      examples/webgl_loader_collada_kinematics.html
  98. 1 1
      examples/webgl_loader_ply.html
  99. 2 2
      examples/webgl_loader_scene.html
  100. 1 1
      examples/webgl_loader_stl.html

+ 12 - 12
examples/canvas_geometry_birds.html

@@ -55,13 +55,13 @@
 
 					_goal = target;
 
-				}
+				};
 
 				this.setAvoidWalls = function ( value ) {
 
 					_avoidWalls = value;
 
-				}
+				};
 
 				this.setWorldSize = function ( width, height, depth ) {
 
@@ -69,7 +69,7 @@
 					_height = height;
 					_depth = depth;
 
-				}
+				};
 
 				this.run = function ( boids ) {
 
@@ -120,7 +120,7 @@
 
 					this.move();
 
-				}
+				};
 
 				this.flock = function ( boids ) {
 
@@ -134,7 +134,7 @@
 					_acceleration.add( this.cohesion( boids ) );
 					_acceleration.add( this.separation( boids ) );
 
-				}
+				};
 
 				this.move = function () {
 
@@ -151,7 +151,7 @@
 					this.position.add( this.velocity );
 					_acceleration.set( 0, 0, 0 );
 
-				}
+				};
 
 				this.checkBounds = function () {
 
@@ -162,7 +162,7 @@
 					if ( this.position.z >  _depth ) this.position.z = - _depth;
 					if ( this.position.z < - _depth ) this.position.z =  _depth;
 
-				}
+				};
 
 				//
 
@@ -177,7 +177,7 @@
 
 					return steer;
 
-				}
+				};
 
 				this.repulse = function ( target ) {
 
@@ -194,7 +194,7 @@
 
 					}
 
-				}
+				};
 
 				this.reach = function ( target, amount ) {
 
@@ -205,7 +205,7 @@
 
 					return steer;
 
-				}
+				};
 
 				this.alignment = function ( boids ) {
 
@@ -245,7 +245,7 @@
 
 					return velSum;
 
-				}
+				};
 
 				this.cohesion = function ( boids ) {
 
@@ -288,7 +288,7 @@
 
 					return steer;
 
-				}
+				};
 
 				this.separation = function ( boids ) {
 

+ 2 - 2
examples/canvas_interactive_particles.html

@@ -38,7 +38,7 @@
 				context.arc( 0, 0, 0.5, 0, PI2, true );
 				context.fill();
 
-			}
+			};
 
 			var programStroke = function ( context ) {
 
@@ -47,7 +47,7 @@
 				context.arc( 0, 0, 0.5, 0, PI2, true );
 				context.stroke();
 
-			}
+			};
 
 			var INTERSECTED;
 

+ 1 - 1
examples/canvas_lights_pointlights.html

@@ -80,7 +80,7 @@
 					context.arc( 0, 0, 0.5, 0, PI2, true );
 					context.fill();
 
-				}
+				};
 
 				var sprite = new THREE.Sprite( new THREE.SpriteCanvasMaterial( { color: 0xff0040, program: program } ) );
 				light1.add( sprite );

+ 2 - 2
examples/canvas_materials.html

@@ -106,7 +106,7 @@
 					context.arc( 0, 0, 0.5, 0, PI2, true );
 					context.fill();
 
-				}
+				};
 
 				// Lights
 
@@ -167,7 +167,7 @@
 			function loadImage( path ) {
 
 				var image = document.createElement( 'img' );
-				var texture = new THREE.Texture( image, THREE.UVMapping )
+				var texture = new THREE.Texture( image, THREE.UVMapping );
 
 				image.onload = function () { texture.needsUpdate = true; };
 				image.src = path;

+ 1 - 1
examples/canvas_materials_video.html

@@ -140,7 +140,7 @@
 
 						particle = new THREE.Sprite( material );
 						particle.position.x = ix * separation - ( ( amountx * separation ) / 2 );
-						particle.position.y = -153
+						particle.position.y = -153;
 						particle.position.z = iy * separation - ( ( amounty * separation ) / 2 );
 						particle.scale.x = particle.scale.y = 2;
 						scene.add( particle );

+ 1 - 1
examples/canvas_particles_random.html

@@ -54,7 +54,7 @@
 					context.arc( 0, 0, 0.5, 0, PI2, true );
 					context.fill();
 
-				}
+				};
 
 				group = new THREE.Group();
 				scene.add( group );

+ 1 - 1
examples/canvas_particles_shapes.html

@@ -154,7 +154,7 @@
 					context.lineWidth = 0.5; //0.05
 					context.stroke();
 
-				}
+				};
 
 				var setTargetParticle = function() {
 

+ 1 - 1
examples/canvas_particles_sprites.html

@@ -120,7 +120,7 @@
 				var particle = this instanceof THREE.Sprite ? this : particle;
 				var delay = delay !== undefined ? delay : 0;
 
-				particle.position.set( 0, 0, 0 )
+				particle.position.set( 0, 0, 0 );
 				particle.scale.x = particle.scale.y = Math.random() * 32 + 16;
 
 				new TWEEN.Tween( particle )

+ 1 - 1
examples/css3d_sprites.html

@@ -71,7 +71,7 @@
 						var object = new THREE.CSS3DSprite( image.cloneNode() );
 						object.position.x = Math.random() * 4000 - 2000,
 						object.position.y = Math.random() * 4000 - 2000,
-						object.position.z = Math.random() * 4000 - 2000
+						object.position.z = Math.random() * 4000 - 2000;
 						scene.add( object );
 
 						objects.push( object );

+ 1 - 1
examples/js/AudioObject.js

@@ -154,7 +154,7 @@ THREE.AudioObject = function ( url, volume, playbackRate, loop ) {
 			_this.source.buffer = _this.context.createBuffer( request.response, true );
 			_this.source.noteOn( 0 );
 
-		}
+		};
 
 		request.send();
 

+ 4 - 4
examples/js/BlendCharacter.js

@@ -124,7 +124,7 @@ THREE.BlendCharacter = function () {
 
 		}
 
-	}
+	};
 
 	this.play = function(animName, weight) {
 
@@ -231,13 +231,13 @@ THREE.BlendCharacter = function () {
 		this.weightSchedule.length = 0;
 		this.warpSchedule.length = 0;
 
-	}
+	};
 
 	this.showSkeleton = function( boolean ) {
 
 		this.skeletonHelper.visible = boolean;
 
-	}
+	};
 
 	this.showModel = function( boolean ) {
 
@@ -266,5 +266,5 @@ THREE.BlendCharacter.prototype.getForward = function() {
 
 		return forward;
 	}
-}
+};
 

+ 10 - 10
examples/js/BlendCharacterGui.js

@@ -78,7 +78,7 @@ function BlendCharacterGui(animations) {
 		playback.open();
 		blending.open();
 
-	}
+	};
 
 	var getAnimationData = function() {
 
@@ -94,7 +94,7 @@ function BlendCharacterGui(animations) {
 			}
 
 		};
-	}
+	};
 
 	controls.start = function() {
 
@@ -144,7 +144,7 @@ function BlendCharacterGui(animations) {
 		fadeData.detail.time = controls[ "Crossfade Time" ];
 
 		window.dispatchEvent( new CustomEvent( 'crossfade', fadeData ) );
-	}
+	};
 
 	controls.warp = function( from, to ) {
 
@@ -154,7 +154,7 @@ function BlendCharacterGui(animations) {
 		warpData.detail.time = controls[ "Crossfade Time" ];
 
 		window.dispatchEvent( new CustomEvent( 'warp', warpData ) );
-	}
+	};
 
 	controls['idle to walk'] = function() {
 
@@ -180,10 +180,10 @@ function BlendCharacterGui(animations) {
 			detail: {
 				shouldLock: controls['Lock Camera']
 			}
-		}
+		};
 
 		window.dispatchEvent( new CustomEvent( 'toggle-lock-camera', data ) );
-	}
+	};
 
 	controls.showSkeletonChanged = function() {
 
@@ -191,10 +191,10 @@ function BlendCharacterGui(animations) {
 			detail: {
 				shouldShow: controls['Show Skeleton']
 			}
-		}
+		};
 
 		window.dispatchEvent( new CustomEvent( 'toggle-show-skeleton', data ) );
-	}
+	};
 
 
 	controls.showModelChanged = function() {
@@ -203,10 +203,10 @@ function BlendCharacterGui(animations) {
 			detail: {
 				shouldShow: controls['Show Model']
 			}
-		}
+		};
 
 		window.dispatchEvent( new CustomEvent( 'toggle-show-model', data ) );
-	}
+	};
 
 
 	init.call(this);

+ 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; }

+ 2 - 2
examples/js/Cloth.js

@@ -86,7 +86,7 @@ Particle.prototype.integrate = function(timesq) {
 	this.position = newPos;
 
 	this.a.set(0, 0, 0);
-}
+};
 
 
 var diff = new THREE.Vector3();
@@ -243,7 +243,7 @@ function simulate(time) {
 
 
 	ballPosition.z = -Math.sin(Date.now() / 600) * 90 ; //+ 40;
-	ballPosition.x = Math.cos(Date.now() / 400) * 70
+	ballPosition.x = Math.cos(Date.now() / 400) * 70;
 
 	if (sphere.visible)
 	for (particles = cloth.particles, i = 0, il = particles.length

+ 1 - 1
examples/js/CurveExtras.js

@@ -217,7 +217,7 @@ var scaleTo = function(x, y, t) {
 	var r = y - x;
 	return t * r + x;
 
-}
+};
 
 THREE.Curves.FigureEightPolynomialKnot = THREE.Curve.create(
 

+ 1 - 1
examples/js/ImprovedNoise.js

@@ -68,4 +68,4 @@ var ImprovedNoise = function () {
 
 		}
 	}
-}
+};

+ 5 - 5
examples/js/MD2Character.js

@@ -29,7 +29,7 @@ THREE.MD2Character = function () {
 
 		this.loadCounter = config.weapons.length * 2 + config.skins.length + 1;
 
-		var weaponsTextures = []
+		var weaponsTextures = [];
 		for ( var i = 0; i < config.weapons.length; i ++ ) weaponsTextures[ i ] = config.weapons[ i ][ 1 ];
 
 		// SKINS
@@ -79,7 +79,7 @@ THREE.MD2Character = function () {
 
 			}
 
-		}
+		};
 
 		for ( var i = 0; i < config.weapons.length; i ++ ) {
 
@@ -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();
 
-	};
+	}
 
 };

+ 5 - 5
examples/js/MD2CharacterComplex.js

@@ -142,7 +142,7 @@ THREE.MD2CharacterComplex = function () {
 
 		this.loadCounter = config.weapons.length * 2 + config.skins.length + 1;
 
-		var weaponsTextures = []
+		var weaponsTextures = [];
 		for ( var i = 0; i < config.weapons.length; i ++ ) weaponsTextures[ i ] = config.weapons[ i ][ 1 ];
 
 		// SKINS
@@ -193,7 +193,7 @@ THREE.MD2CharacterComplex = function () {
 
 			}
 
-		}
+		};
 
 		for ( var i = 0; i < config.weapons.length; i ++ ) {
 
@@ -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; }
 

+ 13 - 13
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
 
@@ -794,7 +794,7 @@ THREE.edgeTable = new Int32Array([
 0xe90, 0xf99, 0xc93, 0xd9a, 0xa96, 0xb9f, 0x895, 0x99c,
 0x69c, 0x795, 0x49f, 0x596, 0x29a, 0x393, 0x99, 0x190,
 0xf00, 0xe09, 0xd03, 0xc0a, 0xb06, 0xa0f, 0x905, 0x80c,
-0x70c, 0x605, 0x50f, 0x406, 0x30a, 0x203, 0x109, 0x0 ])
+0x70c, 0x605, 0x50f, 0x406, 0x30a, 0x203, 0x109, 0x0 ]);
 
 THREE.triTable = new Int32Array([
 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,

+ 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/SimplexNoise.js

@@ -55,7 +55,7 @@ SimplexNoise.prototype.dot = function(g, x, y) {
 
 SimplexNoise.prototype.dot3 = function(g, x, y, z) {
 	return g[0] * x + g[1] * y + g[2] * z; 
-}
+};
 
 SimplexNoise.prototype.dot4 = function(g, x, y, z, w) {
 	return g[0] * x + g[1] * y + g[2] * z + g[3] * w;

+ 4 - 4
examples/js/SimulationRenderer.js

@@ -130,7 +130,7 @@ function SimulationRenderer(WIDTH, renderer) {
 		mesh.material = passThruShader;
 		uniforms.texture.value = input;
 		renderer.render( scene, camera, output );
-	}
+	};
 
 
 	this.renderPosition = function(position, velocity, output, delta) {
@@ -141,7 +141,7 @@ function SimulationRenderer(WIDTH, renderer) {
 		positionShader.uniforms.delta.value = delta;
 		renderer.render( scene, camera, output );
 		this.currentPosition = output;
-	}
+	};
 
 	this.renderVelocity = function(position, velocity, output, delta) {
 		mesh.material = velocityShader;
@@ -151,7 +151,7 @@ function SimulationRenderer(WIDTH, renderer) {
 		velocityShader.uniforms.delta.value = delta;
 		renderer.render( scene, camera, output );
 		this.currentVelocity = output;
-	}
+	};
 
 	this.simulate = function( delta ) {
 
@@ -169,7 +169,7 @@ function SimulationRenderer(WIDTH, renderer) {
 
 		flipflop = !flipflop;
 
-	}
+	};
 
 	function generatePositionTexture() {
 

+ 3 - 3
examples/js/Sparks.js

@@ -213,8 +213,8 @@ SPARKS.Emitter.prototype = {
  * Events called by emitter.dispatchEvent()
  *
  */
-SPARKS.EVENT_PARTICLE_CREATED = "created"
-SPARKS.EVENT_PARTICLE_UPDATED = "updated"
+SPARKS.EVENT_PARTICLE_CREATED = "created";
+SPARKS.EVENT_PARTICLE_UPDATED = "updated";
 SPARKS.EVENT_PARTICLE_DEAD = "dead";
 SPARKS.EVENT_LOOP_UPDATED = "loopUpdated";
 
@@ -495,7 +495,7 @@ SPARKS.RandomDrift = function(x,y,z) {
 	}
 
 	this.drift = new THREE.Vector3(x,y,z);
-}
+};
 
 
 SPARKS.RandomDrift.prototype.update = function(emitter, particle, time) {

+ 3 - 3
examples/js/UCSCharacter.js

@@ -75,7 +75,7 @@ THREE.UCSCharacter = function() {
 				mesh.morphTargetInfluences[ i ] = influences[ scope.morphs[ i ] ] / 100;
 			}
 		}
-	}
+	};
 	
 	function loadTextures( baseUrl, textureUrls ) {
 		var mapping = THREE.UVMapping;
@@ -89,7 +89,7 @@ THREE.UCSCharacter = function() {
 		}
 
 		return textures;
-	};
+	}
 
 	function createMaterials( skins ) {
 		var materials = [];
@@ -122,4 +122,4 @@ THREE.UCSCharacter = function() {
 
 	}
 
-}
+};

+ 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 || {};
 	

+ 2 - 2
examples/js/cameras/CombinedCamera.js

@@ -16,7 +16,7 @@ THREE.CombinedCamera = function ( width, height, fov, near, far, orthoNear, orth
 	this.fov = fov;
 
 	this.left = -width / 2;
-	this.right = width / 2
+	this.right = width / 2;
 	this.top = height / 2;
 	this.bottom = -height / 2;
 
@@ -106,7 +106,7 @@ THREE.CombinedCamera.prototype.setSize = function( width, height ) {
 
 	this.cameraP.aspect = width / height;
 	this.left = -width / 2;
-	this.right = width / 2
+	this.right = width / 2;
 	this.top = height / 2;
 	this.bottom = -height / 2;
 

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

@@ -255,7 +255,7 @@ THREE.EditorControls = function ( object, domElement ) {
 
 			return closest;
 
-		}
+		};
 
 		switch ( event.touches.length ) {
 

+ 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/MouseControls.js

@@ -45,7 +45,7 @@ THREE.MouseControls = function ( object ) {
 
 		mouseQuat.x.setFromAxisAngle( xVector, this.orientation.x );
 		mouseQuat.y.setFromAxisAngle( yVector, this.orientation.y );
-		object.quaternion.copy(mouseQuat.y).multiply(mouseQuat.x)
+		object.quaternion.copy(mouseQuat.y).multiply(mouseQuat.x);
 		return;
 
 	};

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

@@ -176,7 +176,7 @@ THREE.OrthographicTrackballControls = function ( object, domElement ) {
 
 			_eye.copy( _this.object.position ).sub( _this.target );
 
-			vector.copy( _this.object.up ).setLength( mouseOnBall.y )
+			vector.copy( _this.object.up ).setLength( mouseOnBall.y );
 			vector.add( objectUp.copy( _this.object.up ).cross( _eye ).setLength( mouseOnBall.x ) );
 			vector.add( _eye.setLength( mouseOnBall.z ) );
 

+ 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/crossfade/scenes.js

@@ -47,7 +47,7 @@ function generateGeometry(objectType, numObjects) {
 		}
 		else if ( objectType == "sphere" )
 		{
-			geom = new THREE.IcosahedronGeometry( 1, 1 )
+			geom = new THREE.IcosahedronGeometry( 1, 1 );
 			scale.y = scale.z = scale.x;
 			color.setRGB( Math.random() + 0.1, 0, 0 );
 		}

+ 3 - 3
examples/js/crossfade/transition.js

@@ -103,19 +103,19 @@ function Transition ( sceneA, sceneB ) {
 	
 		this.quadmaterial.uniforms.threshold.value = value;
 
-	}
+	};
 	
 	this.useTexture = function ( value ) {
 	
 		this.quadmaterial.uniforms.useTexture.value = value ? 1 : 0;
 
-	}
+	};
 	
 	this.setTexture = function ( i ) {
 		
 		this.quadmaterial.uniforms.tMixTexture.value = this.textures[i];
 		
-	}
+	};
 	
 	this.render = function( delta ) {
 		

+ 1 - 1
examples/js/curves/NURBSSurface.js

@@ -24,7 +24,7 @@ THREE.NURBSSurface = function ( degree1, degree2, knots1, knots2 /* arrays of re
 
 	// ensure Vector4 for control points
 	for (var i = 0; i < len1; ++ i) {
-		this.controlPoints[i] = []
+		this.controlPoints[i] = [];
 		for (var j = 0; j < len2; ++ j) {
 			var point = controlPoints[i][j];
 			this.controlPoints[i][j] = new THREE.Vector4(point.x, point.y, point.z, point.w);

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

@@ -13,7 +13,7 @@ THREE.OBJExporter.prototype = {
 		var output = '';
 
 		var indexVertex = 0;
-		var indexVertexUvs = 0
+		var indexVertexUvs = 0;
 		var indexNormals = 0;
 
 		var parseObject = function ( child ) {

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

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

+ 7 - 7
examples/js/geometries/DecalGeometry.js

@@ -3,13 +3,13 @@ THREE.DecalVertex = function( v, n ) {
 	this.vertex = v;
 	this.normal = n;
 
-}
+};
 
 THREE.DecalVertex.prototype.clone = function() {
 
 	return new THREE.DecalVertex( this.vertex.clone(), this.normal.clone() );
 
-}
+};
 
 THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) {
 
@@ -162,7 +162,7 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) {
 
 		return outVertices;
 
-	}
+	};
 
 	this.pushVertex = function( vertices, id, n ) {
 
@@ -171,7 +171,7 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) {
 		v.applyMatrix4( this.iCubeMatrix );
 		vertices.push( new THREE.DecalVertex( v, n.clone() ) );
 
-	}
+	};
 
 	this.computeDecal = function() {
 
@@ -230,7 +230,7 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) {
 				k, 
 				k + 1, 
 				k + 2
-			) 
+			);
 			f.vertexNormals.push( finalVertices[ k + 0 ].normal );
 			f.vertexNormals.push( finalVertices[ k + 1 ].normal );
 			f.vertexNormals.push( finalVertices[ k + 2 ].normal );
@@ -254,11 +254,11 @@ THREE.DecalGeometry = function( mesh, position, rotation, dimensions, check ) {
 		this.tangentsNeedUpdate = true;
 		this.computeFaceNormals();
 
-	}
+	};
 
 	this.computeDecal();
 
-}
+};
 
 THREE.DecalGeometry.prototype = Object.create( THREE.Geometry.prototype );
 THREE.DecalGeometry.prototype.constructor = THREE.DecalGeometry;

+ 1 - 1
examples/js/libs/msgpack-js.js

@@ -147,7 +147,7 @@ exports.encode = function (value) {
   var view = new DataView(buffer);
   encode(value, view, 0);
   return buffer;
-}
+};
 
 exports.decode = decode;
 

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

@@ -74,7 +74,7 @@ THREE.AWDLoader = (function () {
 	return tex;
 
     }
-  }
+  };
 
 
 
@@ -113,7 +113,7 @@ THREE.AWDLoader = (function () {
 		this._accuracyProps   = false;
 
 
-	};
+	}
 
 
 	AWDLoader.prototype = Object.create( THREE.Loader.prototype );
@@ -172,7 +172,7 @@ THREE.AWDLoader = (function () {
 
 		return this.trunk;
 
-	}
+	};
 
 
 
@@ -240,7 +240,7 @@ THREE.AWDLoader = (function () {
 		block.data = assetData;
 		block.id = blockId;
 
-	}
+	};
 
 
 	AWDLoader.prototype._parseHeader = function () {
@@ -277,7 +277,7 @@ THREE.AWDLoader = (function () {
 		this._bodylen = this.readU32();
 
 
-	}
+	};
 
 
 	AWDLoader.prototype.parseContainer = function ( len ) {
@@ -302,7 +302,7 @@ THREE.AWDLoader = (function () {
 		ctr.extra = this.parseUserAttributes();
 
 		return ctr;
-	}
+	};
 
 
 
@@ -336,13 +336,13 @@ THREE.AWDLoader = (function () {
 
 
 
-		meshLen = geometries.length
+		meshLen = geometries.length;
 		meshes = [];
 
     // TODO : BufferGeometry don't support "geometryGroups" for now.
     // so we create sub meshes for each groups
 		if ( meshLen  > 1 ) {
-			mesh = new THREE.Object3D()
+			mesh = new THREE.Object3D();
 			for ( i = 0; i < meshLen; i ++) {
 				var sm = new THREE.Mesh( geometries[i] );
 				meshes.push( sm );
@@ -373,7 +373,7 @@ THREE.AWDLoader = (function () {
 		mesh.extra = this.parseUserAttributes();
 
 		return mesh;
-	}
+	};
 
 
 
@@ -434,7 +434,7 @@ THREE.AWDLoader = (function () {
 
 
 		return mat;
-	}
+	};
 
 
 
@@ -462,7 +462,7 @@ THREE.AWDLoader = (function () {
 
 		this.parseUserAttributes();
 		return asset;
-	}
+	};
 
 	AWDLoader.prototype.loadTexture = function( url ) {
 
@@ -470,7 +470,7 @@ THREE.AWDLoader = (function () {
       this._resourceLoader = new ResourcesLoader( this._url );
 
 		return this._resourceLoader.loadTexture( url );
-	}
+	};
 
   // broken : skeleton pose format is different than threejs one
 	AWDLoader.prototype.parseSkeleton = function(len) // Array<Bone>
@@ -508,7 +508,7 @@ THREE.AWDLoader = (function () {
 
 
 		return skeleton;
-	}
+	};
 
 
 
@@ -548,7 +548,7 @@ THREE.AWDLoader = (function () {
 		this.parseUserAttributes();
 
 		return pose
-	}
+	};
 
 	AWDLoader.prototype.parseSkeletonAnimation = function(blockID)
   {
@@ -573,7 +573,7 @@ THREE.AWDLoader = (function () {
 			pose_addr = this.readU32();
 			frame_dur = this.readU16();
 
-			pose = this._blocks[pose_addr].data
+			pose = this._blocks[pose_addr].data;
       // debug( 'pose address ',pose[2].elements[12],pose[2].elements[13],pose[2].elements[14] );
 			clip.push( {
         pose : pose,
@@ -589,7 +589,7 @@ THREE.AWDLoader = (function () {
     // Ignore attributes for now
 		this.parseUserAttributes();
 		return clip;
-	}
+	};
 
 
 
@@ -612,7 +612,7 @@ THREE.AWDLoader = (function () {
 
 
 		return skeletonFrames;
-	}
+	};
 
 
 	AWDLoader.prototype.parseAnimatorSet = function(len)
@@ -650,7 +650,7 @@ THREE.AWDLoader = (function () {
 			targetMeshes.push(this._blocks[meshAdresses[i]].data);
 		}
 
-		targetAnimationSet = this._blocks[animSetBlockAdress].data
+		targetAnimationSet = this._blocks[animSetBlockAdress].data;
 		var thisAnimator;
 
 		if (type == 1) {
@@ -672,7 +672,7 @@ THREE.AWDLoader = (function () {
     // debug("Parsed a Animator: Name = " + name);
 
 		return thisAnimator;
-	}
+	};
 
 
 
@@ -851,7 +851,7 @@ THREE.AWDLoader = (function () {
     //finalizeAsset(geom, name);
 
 		return geometries;
-	}
+	};
 
 	AWDLoader.prototype.parseMeshPoseAnimation = function(len, poseOnly)
   {
@@ -957,7 +957,7 @@ THREE.AWDLoader = (function () {
 		this.parseUserAttributes();
 
 		return null;
-	}
+	};
 
 
 
@@ -1000,7 +1000,7 @@ THREE.AWDLoader = (function () {
     //e[15] = this.readF32();
 	e[15] = 1.0;
 	return mtx;
-  }
+  };
 
 
 	AWDLoader.prototype.parseProperties = function ( expected ) {
@@ -1111,47 +1111,47 @@ THREE.AWDLoader = (function () {
 			return read_func.call( this );
 		}
 
-	}
+	};
 
 
 	AWDLoader.prototype.readU8 = function () {
 		return this._data.getUint8( this._ptr ++ );
-	}
+	};
 	AWDLoader.prototype.readI8 = function () {
 		return this._data.getInt8( this._ptr ++ );
-	}
+	};
 
 	AWDLoader.prototype.readU16 = function () {
 		var a = this._data.getUint16( this._ptr, littleEndian );
 		this._ptr += 2;
 		return a;
-	}
+	};
 	AWDLoader.prototype.readI16 = function () {
 		var a = this._data.getInt16( this._ptr, littleEndian );
 		this._ptr += 2;
 		return a;
-	}
+	};
 
 	AWDLoader.prototype.readU32 = function () {
 		var a = this._data.getUint32( this._ptr, littleEndian );
 		this._ptr += 4;
 		return a;
-	}
+	};
 	AWDLoader.prototype.readI32 = function () {
 		var a = this._data.getInt32( this._ptr, littleEndian );
 		this._ptr += 4;
 		return a;
-	}
+	};
 	AWDLoader.prototype.readF32 = function () {
 		var a = this._data.getFloat32( this._ptr, littleEndian );
 		this._ptr += 4;
 		return a;
-	}
+	};
 	AWDLoader.prototype.readF64 = function () {
 		var a = this._data.getFloat64( this._ptr, littleEndian );
 		this._ptr += 8;
 		return a;
-	}
+	};
 
 
   /**
@@ -1203,7 +1203,7 @@ THREE.AWDLoader = (function () {
 
 
 
-	AWDProperties = function() {}
+	AWDProperties = function() {};
 
 	AWDProperties.prototype = {
 
@@ -1219,7 +1219,7 @@ THREE.AWDLoader = (function () {
         return this[key];
       else return fallback;
     }
-  }
+  };
 
 	return AWDLoader;
 

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

@@ -235,7 +235,7 @@ THREE.AssimpJSONLoader.prototype = {
 						has_textures.push(keyname);
 
 						loader.setCrossOrigin(this.crossOrigin);
-						var material_url = scope.texturePath + '/' + prop.value
+						var material_url = scope.texturePath + '/' + prop.value;
 						material_url = material_url.replace(/\\/g, '/');
 						loader.load(material_url, function(tex) {
 							if (tex) {

+ 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
 
 			}
 
-		};
+		}
 
 	};
 

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

@@ -115,7 +115,7 @@ THREE.ColladaLoader = function () {
 
 				}
 
-			}
+			};
 
 			request.open( "GET", url, true );
 			request.send( null );
@@ -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 {
 

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

@@ -87,7 +87,7 @@ THREE.MTLLoader.prototype = {
 		}
 
 		var materialCreator = new THREE.MTLLoader.MaterialCreator( this.baseUrl, this.options );
-		materialCreator.crossOrigin = this.crossOrigin
+		materialCreator.crossOrigin = this.crossOrigin;
 		materialCreator.setMaterials( materialsInfo );
 		return materialCreator;
 

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

@@ -205,7 +205,7 @@ THREE.OBJLoader.prototype = {
 
 		// f vertex//normal vertex//normal vertex//normal ...
 
-		var face_pattern4 = /f( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))?/
+		var face_pattern4 = /f( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))( +(-?\d+)\/\/(-?\d+))?/;
 
 		//
 

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

@@ -225,7 +225,7 @@ THREE.OBJMTLLoader.prototype = {
 
 		// f vertex//normal vertex//normal vertex//normal ...
 
-		var face_pattern4 = /f( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))?/
+		var face_pattern4 = /f( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))( +(\d+)\/\/(\d+))?/;
 
 		//
 

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

@@ -176,5 +176,5 @@ THREE.PDBLoader.prototype = {
 
 	}
 
-}
+};
 

+ 4 - 4
examples/js/loaders/PLYLoader.js

@@ -164,11 +164,11 @@ THREE.PLYLoader.prototype = {
 		for ( var i = 0; i < lines.length; i ++ ) {
 
 			var line = lines[ i ];
-			line = line.trim()
+			line = line.trim();
 			if ( line === "" ) { continue; }
 			lineValues = line.split( /\s+/ );
-			lineType = lineValues.shift()
-			line = lineValues.join(" ")
+			lineType = lineValues.shift();
+			line = lineValues.join(" ");
 
 			switch ( lineType ) {
 
@@ -299,7 +299,7 @@ THREE.PLYLoader.prototype = {
 		for ( var i = 0; i < lines.length; i ++ ) {
 
 			var line = lines[ i ];
-			line = line.trim()
+			line = line.trim();
 			if ( line === "" ) { continue; }
 
 			if ( currentElementCount >= header.elements[currentElement].count ) {

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

@@ -61,15 +61,15 @@ THREE.PVRLoader._parseV3 = function ( pvrDatas ) {
 			format = THREE.RGB_PVRTC_2BPPV1_Format;
 			break;
 		case 1 : // PVRTC 2bpp RGBA
-			bpp = 2
+			bpp = 2;
 			format = THREE.RGBA_PVRTC_2BPPV1_Format;
 			break;
 		case 2 : // PVRTC 4bpp RGB
-			bpp = 4
+			bpp = 4;
 			format = THREE.RGB_PVRTC_4BPPV1_Format;
 			break;
 		case 3 : // PVRTC 4bpp RGBA
-			bpp = 4
+			bpp = 4;
 			format = THREE.RGBA_PVRTC_4BPPV1_Format;
 			break;
 		default :
@@ -108,9 +108,9 @@ THREE.PVRLoader._parseV2 = function ( pvrDatas ) {
 		numSurfs      =  header[12];
 
 
-	var TYPE_MASK = 0xff
+	var TYPE_MASK = 0xff;
 	var PVRTC_2 = 24,
-		PVRTC_4 = 25
+		PVRTC_4 = 25;
 
 	var formatFlags = flags & TYPE_MASK;
 
@@ -249,4 +249,4 @@ THREE.PVRLoader._extract = function ( pvrDatas ) {
 
 
 	return pvr;
-}
+};

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

@@ -269,7 +269,7 @@ if ( typeof DataView === 'undefined') {
 		this.byteLength = byteLength || buffer.byteLength || buffer.length;
 		this._isString = typeof buffer === "string";
 
-	}
+	};
 
 	DataView.prototype = {
 

+ 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 ) {
 

+ 5 - 5
examples/js/loaders/VRMLLoader.js

@@ -357,7 +357,7 @@ THREE.VRMLLoader.prototype = {
 								r: parseFloat(parts[1]),
 								g: parseFloat(parts[2]),
 								b: parseFloat(parts[3])
-							}
+							};
 
 							break;
 
@@ -373,7 +373,7 @@ THREE.VRMLLoader.prototype = {
 								x: parseFloat(parts[1]),
 								y: parseFloat(parts[2]),
 								z: parseFloat(parts[3])
-							}
+							};
 
 							break;
 
@@ -404,7 +404,7 @@ THREE.VRMLLoader.prototype = {
 								y: parseFloat(parts[2]),
 								z: parseFloat(parts[3]),
 								w: parseFloat(parts[4])
-							}
+							};
 
 							break;
 
@@ -498,7 +498,7 @@ THREE.VRMLLoader.prototype = {
 				}
 
 				return tree;
-			}
+			};
 
 			var parseNode = function ( data, parent ) {
 
@@ -807,7 +807,7 @@ THREE.VRMLLoader.prototype = {
 
 				}
 
-			}
+			};
 
 			parseNode( getTree( lines ), scene );
 

+ 3 - 3
examples/js/loaders/ctm/CTMLoader.js

@@ -72,7 +72,7 @@ THREE.CTMLoader.prototype.loadParts = function( url, callback, parameters ) {
 
 		}
 
-	}
+	};
 
 	xhr.open( "GET", url, true );
 	xhr.setRequestHeader( "Content-Type", "text/plain" );
@@ -179,7 +179,7 @@ THREE.CTMLoader.prototype.load = function( url, callback, parameters ) {
 
 		}
 
-	}
+	};
 
 	xhr.open( "GET", url, true );
 	xhr.responseType = "arraybuffer";
@@ -240,7 +240,7 @@ THREE.CTMLoader.prototype.createModel = function ( file, callback ) {
 
 		}
 
-	}
+	};
 
 	Model.prototype = Object.create( THREE.BufferGeometry.prototype );
 	Model.prototype.constructor = Model;

+ 1 - 1
examples/js/loaders/ctm/CTMWorker.js

@@ -16,4 +16,4 @@ self.onmessage = function( event ) {
 	self.postMessage( files );
 	self.close();
 
-}
+};

+ 12 - 12
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
 
@@ -1012,7 +1012,7 @@ THREE.SceneLoader.prototype = {
 					var wrapMap = {
 						"repeat": THREE.RepeatWrapping,
 						"mirror": THREE.MirroredRepeatWrapping
-					}
+					};
 
 					if ( wrapMap[ textureJSON.wrap[ 0 ] ] !== undefined ) texture.wrapS = wrapMap[ textureJSON.wrap[ 0 ] ];
 					if ( wrapMap[ textureJSON.wrap[ 1 ] ] !== undefined ) texture.wrapT = wrapMap[ textureJSON.wrap[ 1 ] ];
@@ -1161,4 +1161,4 @@ THREE.SceneLoader.prototype = {
 
 	}
 
-}
+};

+ 8 - 8
examples/js/loaders/gltf/glTFAnimation.js

@@ -45,7 +45,7 @@ THREE.glTFAnimation = function(interps)
 	{
 		this.createInterpolators(interps);
 	}
-}
+};
 
 THREE.glTFAnimation.prototype.createInterpolators = function(interps)
 {
@@ -56,7 +56,7 @@ THREE.glTFAnimation.prototype.createInterpolators = function(interps)
 		this.interps.push(interp);
 		this.duration = Math.max(this.duration, interp.duration);
 	}
-}
+};
 
 // Start/stop
 THREE.glTFAnimation.prototype.play = function()
@@ -67,13 +67,13 @@ THREE.glTFAnimation.prototype.play = function()
 	this.startTime = Date.now();
 	this.running = true;
 	THREE.glTFAnimator.add(this);
-}
+};
 
 THREE.glTFAnimation.prototype.stop = function()
 {
 	this.running = false;
 	THREE.glTFAnimator.remove(this);
-}
+};
 
 // Update - drive key frame evaluation
 THREE.glTFAnimation.prototype.update = function()
@@ -105,7 +105,7 @@ THREE.glTFAnimation.prototype.update = function()
 			this.interps[i].interp(t);
 		}
 	}
-}
+};
 
 //Interpolator class
 //Construction/initialization
@@ -147,7 +147,7 @@ THREE.glTFInterpolator = function(param)
 	this.quat1 = new THREE.Quaternion;
 	this.quat2 = new THREE.Quaternion;
 	this.quat3 = new THREE.Quaternion;
-}
+};
 
 //Interpolation and tweening methods
 THREE.glTFInterpolator.prototype.interp = function(t)
@@ -238,7 +238,7 @@ THREE.glTFInterpolator.prototype.interp = function(t)
 	{
 		this.copyValue(this.target);
 	}
-}
+};
 
 THREE.glTFInterpolator.prototype.copyValue = function(target) {
 	
@@ -248,4 +248,4 @@ THREE.glTFInterpolator.prototype.copyValue = function(target) {
 	else {
 		target.copy(this.vec3);
 	}		
-}
+};

+ 10 - 10
examples/js/loaders/gltf/glTFLoader.js

@@ -14,7 +14,7 @@ THREE.glTFLoader = function (showStatus) {
 	this.shadersLoaded = 0;
 	this.shaders = {};
 	THREE.Loader.call( this, showStatus );
-}
+};
 
 THREE.glTFLoader.prototype = Object.create( THREE.Loader.prototype );
 THREE.glTFLoader.prototype.constructor = THREE.glTFLoader;
@@ -107,7 +107,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {
 		geometry.addDrawCall( 0, this.indexArray.length, 0 );
 
 		geometry.computeBoundingSphere();
-	}
+	};
     
 	ClassicGeometry.prototype.checkFinished = function() {
 		if (this.indexArray && this.loadedAttributes === this.totalAttributes) {
@@ -203,7 +203,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {
 		geom.geometry.skinIndices.push( new THREE.Vector4( floatArray[i], floatArray[i + 1], floatArray[i + 2], floatArray[i + 3] ) );
 	}
         }
-	}
+	};
     
 	VertexAttributeDelegate.prototype.bufferResourceAvailable = function(glResource, ctx) {
 		var geom = ctx.geometry;
@@ -241,7 +241,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {
 	floatArray = new Float32Array(glResource, 0, attribute.count * nComponents);
 	geom.geometry.addAttribute( 'skinIndex', new THREE.BufferAttribute( floatArray, nComponents ) );
         }
-	}
+	};
     
 	VertexAttributeDelegate.prototype.resourceAvailable = function(glResource, ctx) {
 
@@ -438,7 +438,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {
 
 	ShaderDelegate.prototype.convert = function(resource, ctx) {
 		return resource; 
-	}
+	};
     
 	ShaderDelegate.prototype.resourceAvailable = function(data, ctx) {
 		theLoader.shadersLoaded ++;
@@ -487,11 +487,11 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {
 	};
 
 	LoadDelegate = function() {
-    }
+    };
     
 	LoadDelegate.prototype.loadCompleted = function(callback, obj) {
 		callback.call(Window, obj);
-	}
+	};
     
     // Loader
 
@@ -1517,7 +1517,7 @@ THREE.glTFLoader.prototype.load = function( url, callback ) {
 	this.callback = callback;
 	this.rootObj = rootObj;
 	return rootObj;
-}
+};
 
 THREE.glTFLoader.prototype.callLoadedCallback = function() {
 	var result = {
@@ -1527,7 +1527,7 @@ THREE.glTFLoader.prototype.callLoadedCallback = function() {
 	};
 	
 	this.callback(result);
-}
+};
 
 THREE.glTFLoader.prototype.checkComplete = function() {
 	if (this.meshesLoaded == this.meshesRequested 
@@ -1550,7 +1550,7 @@ THREE.glTFLoader.prototype.checkComplete = function() {
         
 		this.callLoadedCallback();
 	}
-}
+};
 
 
 

+ 1 - 1
examples/js/loaders/gltf/glTFLoaderUtils.js

@@ -137,7 +137,7 @@ THREE.GLTFLoaderUtils = Object.create(Object, {
 
 	processResourceDelegate.handleError = function(errorCode, info) {
 		request.delegate.handleError(errorCode, info);
-	}
+	};
 
 	this._loadStream(request.path, request.type, processResourceDelegate);
         }

+ 1 - 1
examples/js/modifiers/ExplodeModifier.js

@@ -40,4 +40,4 @@ THREE.ExplodeModifier.prototype.modify = function ( geometry ) {
 	geometry.vertices = vertices;
 	delete geometry.__tmpVertices;
 
-}
+};

+ 1 - 1
examples/js/modifiers/SubdivisionModifier.js

@@ -136,7 +136,7 @@ THREE.SubdivisionModifier.prototype.modify = function ( geometry ) {
 		var metaVertices, sourceEdges;
 
 		// new stuff.
-		var sourceEdges, newEdgeVertices, newSourceVertices
+		var sourceEdges, newEdgeVertices, newSourceVertices;
 
 		oldVertices = geometry.vertices; // { x, y, z}
 		oldFaces = geometry.faces; // { a: oldVertex1, b: oldVertex2, c: oldVertex3 }

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

@@ -138,7 +138,7 @@ THREE.CanvasRenderer = function ( parameters ) {
 
 		}
 
-	}
+	};
 
 	// WebGLRenderer compatibility
 

+ 2 - 2
examples/js/renderers/Projector.js

@@ -786,7 +786,7 @@ THREE.Projector = function () {
 			var line = new THREE.RenderableLine();
 			_linePool.push( line );
 			_linePoolLength ++;
-			_lineCount ++
+			_lineCount ++;
 			return line;
 
 		}
@@ -802,7 +802,7 @@ THREE.Projector = function () {
 			var sprite = new THREE.RenderableSprite();
 			_spritePool.push( sprite );
 			_spritePoolLength ++;
-			_spriteCount ++
+			_spriteCount ++;
 			return sprite;
 
 		}

+ 2 - 2
examples/js/renderers/RaytracingRenderer.js

@@ -302,7 +302,7 @@ THREE.RaytracingRenderer = function ( parameters ) {
 
 					var eta = material.refractionRatio;
 
-					var dotNI = rayDirection.dot( normalVector )
+					var dotNI = rayDirection.dot( normalVector );
 					var k = 1.0 - eta * eta * ( 1.0 - dotNI * dotNI );
 
 					if ( k < 0.0 ) {
@@ -528,7 +528,7 @@ THREE.RaytracingRenderer = function ( parameters ) {
 
 			}
 
-			modelViewMatrix.multiplyMatrices( camera.matrixWorldInverse, object.matrixWorld )
+			modelViewMatrix.multiplyMatrices( camera.matrixWorldInverse, object.matrixWorld );
 
 			var _object = cache[ object.id ];
 

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

@@ -64,7 +64,7 @@ THREE.SVGRenderer = function () {
 
 		}
 
-	}
+	};
 
 	this.setQuality = function( quality ) {
 

+ 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;
 
-	};
+	}
 
 };

+ 2 - 2
examples/js/utils/GeometryUtils.js

@@ -148,7 +148,7 @@ THREE.GeometryUtils = {
 
 			}
 
-			var result = binarySearch( 0, cumulativeAreas.length - 1 )
+			var result = binarySearch( 0, cumulativeAreas.length - 1 );
 			return result;
 
 		}
@@ -242,7 +242,7 @@ THREE.GeometryUtils = {
 
 			}
 
-			var result = binarySearch( 0, cumulativeAreas.length - 1 )
+			var result = binarySearch( 0, cumulativeAreas.length - 1 );
 			return result;
 
 		}

+ 2 - 2
examples/js/utils/ShadowMapViewer.js

@@ -154,7 +154,7 @@ THREE.ShadowMapViewer = function ( light ) {
 
 			userAutoClearSetting = renderer.autoClear;
 			renderer.autoClear = false; // To allow render overlay
-			renderer.clearDepth()
+			renderer.clearDepth();
 			renderer.render( scene, camera );
 			renderer.autoClear = userAutoClearSetting;	//Restore user's setting
 
@@ -185,6 +185,6 @@ THREE.ShadowMapViewer = function ( light ) {
 	//Force an update to set position/size
 	this.update();
 
-}
+};
 
 THREE.ShadowMapViewer.prototype.constructor = THREE.ShadowMapViewer;

+ 1 - 1
examples/js/utils/UVsDebug.js

@@ -115,5 +115,5 @@ THREE.UVsDebug = function( geometry, size ) {
 
 	return canvas;
 
-}
+};
 

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

@@ -106,7 +106,7 @@ THREE.ProxyGeometry.prototype.createVertexProxies = function(values) {
 
 	return this.vertices;
 
-}
+};
 
 THREE.ProxyGeometry.prototype.createFaceProxies = function(values) {
 
@@ -214,7 +214,7 @@ THREE.ProxyGeometry.prototype.createFaceProxies = function(values) {
 
 	return this.faces;
 
-}
+};
 
 THREE.ProxyGeometry.prototype.createFaceVertexNormalProxies = function(values) {
 
@@ -263,7 +263,7 @@ THREE.ProxyGeometry.prototype.createFaceVertexNormalProxies = function(values) {
 
 	}
 
-}
+};
 
 THREE.ProxyGeometry.prototype.createFaceVertexColorProxies = function(values) {
 
@@ -321,7 +321,7 @@ THREE.ProxyGeometry.prototype.createFaceVertexColorProxies = function(values) {
 
 	}
 
-}
+};
 
 THREE.ProxyGeometry.prototype.createFaceVertexTangentProxies = function(values) {
 
@@ -365,7 +365,7 @@ THREE.ProxyGeometry.prototype.createFaceVertexTangentProxies = function(values)
 
 	}
 
-}
+};
 
 THREE.ProxyGeometry.prototype.createUvProxies = function(values) {
 
@@ -425,7 +425,7 @@ THREE.ProxyGeometry.prototype.createUvProxies = function(values) {
 
 	return this.faceVertexUvs;
 
-}
+};
 
 THREE.ProxyGeometry.prototype.createSkinIndexProxies = function(values) {
 
@@ -457,7 +457,7 @@ THREE.ProxyGeometry.prototype.createSkinIndexProxies = function(values) {
 
 	return this.skinIndices;
 
-}
+};
 
 THREE.ProxyGeometry.prototype.createSkinWeightProxies = function(values) {
 
@@ -489,7 +489,7 @@ THREE.ProxyGeometry.prototype.createSkinWeightProxies = function(values) {
 
 	return this.skinWeights;
 
-}
+};
 
 THREE.ProxyGeometry.prototype.createColorProxies = function(values) {
 
@@ -521,7 +521,7 @@ THREE.ProxyGeometry.prototype.createColorProxies = function(values) {
 
 	return this.colors;
 
-}
+};
 
 THREE.ProxyGeometry.prototype.populateProxyFromBuffer = function(attr, buffername, proxytype, itemsize, offset, count) {
 
@@ -541,7 +541,7 @@ THREE.ProxyGeometry.prototype.populateProxyFromBuffer = function(attr, buffernam
 
 	}
 
-}
+};
 
 /*
  * Checks for duplicate vertices with hashmap.
@@ -578,7 +578,7 @@ THREE.ProxyGeometry.prototype.mergeVertices = function () {
 
 		}
 
-	};
+	}
 
 
 	// if faces are completely degenerate after merging vertices, we
@@ -630,7 +630,7 @@ THREE.ProxyGeometry.prototype.mergeVertices = function () {
 	this.vertices = unique;
 	return diff;
 
-}
+};
 
 THREE.ProxyGeometry.prototype.onGeometryAllocate = function (ev) {
 
@@ -693,7 +693,7 @@ THREE.ProxyGeometry.prototype.onGeometryAllocate = function (ev) {
 		this.createSkinWeightProxies(this.skinWeights);
 
 	}
-}
+};
 
 THREE.ProxyGeometry.prototype.computeFaceNormals = function() {
 
@@ -701,7 +701,7 @@ THREE.ProxyGeometry.prototype.computeFaceNormals = function() {
 
 	return THREE.BufferGeometry.prototype.computeFaceNormals.call(this);
 
-}
+};
 
 THREE.ProxyGeometry.prototype.computeVertexNormals = function() {
 
@@ -709,7 +709,7 @@ THREE.ProxyGeometry.prototype.computeVertexNormals = function() {
 
 	return THREE.BufferGeometry.prototype.computeVertexNormals.call(this);
 
-}
+};
 
 THREE.ProxyGeometry.prototype.computeTangents = function() {
 
@@ -722,7 +722,7 @@ THREE.ProxyGeometry.prototype.computeTangents = function() {
 
 	return ret;
 
-}
+};
 
 THREE.ProxyGeometry.prototype.computeBoundingSphere = function() {
 
@@ -730,7 +730,7 @@ THREE.ProxyGeometry.prototype.computeBoundingSphere = function() {
 
 	return THREE.BufferGeometry.prototype.computeBoundingSphere.call(this);
 
-}
+};
 
 THREE.ProxyGeometry.prototype.computeBoundingBox = function () {
 
@@ -738,7 +738,7 @@ THREE.ProxyGeometry.prototype.computeBoundingBox = function () {
 
 	return THREE.BufferGeometry.prototype.computeBoundingBox.call(this);
 
-}
+};
 THREE.ProxyGeometry.prototype.clone = function () {
 
 	var buff = THREE.BufferGeometry.prototype.clone.call(this);
@@ -748,7 +748,7 @@ THREE.ProxyGeometry.prototype.clone = function () {
 
 	return geo;
 
-}
+};
 
 THREE.EventDispatcher.prototype.apply( THREE.ProxyGeometry.prototype );
 

+ 5 - 5
examples/js/wip/benchmark/Geometry4.js

@@ -33,7 +33,7 @@ THREE.VectorArrayProxy = function(attribute) {
 
 	}
 
-}
+};
 
 THREE.VectorArrayProxy.prototype.getValue = function(i) {
 
@@ -51,13 +51,13 @@ THREE.VectorArrayProxy.prototype.getValue = function(i) {
 
 	}
 
-}
+};
 THREE.VectorArrayProxy.prototype.setValue = function(i, v) {
 
 	var vec = this[i];
 	vec.copy(v);
 
-}
+};
 
 // Vector Proxy Objects
 
@@ -65,7 +65,7 @@ THREE.Vector2Proxy = function(subarray) {
 
 	this.subarray = subarray;
 
-}
+};
 THREE.Vector2Proxy.prototype = Object.create( THREE.Vector2.prototype );
 THREE.Vector2Proxy.prototype.constructor = THREE.Vector2Proxy;
 Object.defineProperty(THREE.Vector2Proxy.prototype, 'x', { get: function() { return this.subarray[0]; }, set: function(v) { this.subarray[0] = v; } });
@@ -76,7 +76,7 @@ THREE.Vector3Proxy = function(subarray) {
 
 	this.subarray = subarray;
 
-}
+};
 THREE.Vector3Proxy.prototype = Object.create( THREE.Vector3.prototype );
 THREE.Vector3Proxy.prototype.constructor = THREE.Vector3Proxy;
 

+ 1 - 1
examples/js/wip/benchmark/TypedGeometry.js

@@ -138,7 +138,7 @@ THREE.TypedFace.prototype = {
 
 	}
 
-}
+};
 
 
 THREE.TypedGeometry = function ( size ) {

+ 2 - 2
examples/js/wip/proxies/MultiColor.js

@@ -5,7 +5,7 @@ THREE.MultiColor = function(links) {
 
 	this.links = links;
 
-}
+};
 
 THREE.MultiColor.prototype = Object.create( THREE.Color.prototype );
 THREE.MultiColor.prototype.constructor = THREE.MultiColor;
@@ -18,7 +18,7 @@ THREE.MultiColor.prototype.setAll = function(axis, value) {
 
 	}
 
-}
+};
 
 // Getters return value from the first linked color
 // Setters set the same value for all linked colors

+ 2 - 2
examples/js/wip/proxies/MultiVector3.js

@@ -5,7 +5,7 @@ THREE.MultiVector3 = function(links) {
 
 	this.links = links;
 
-}
+};
 
 THREE.MultiVector3.prototype = Object.create( THREE.Vector3.prototype );
 THREE.MultiVector3.prototype.constructor = THREE.MultiVector3;
@@ -18,7 +18,7 @@ THREE.MultiVector3.prototype.setAll = function(axis, value) {
 
 	}
 
-}
+};
 
 // Getters return value from the first linked vector
 // Setters set the same value for all linked vectors

+ 1 - 1
examples/js/wip/proxies/ProxyColor.js

@@ -8,7 +8,7 @@ THREE.ProxyColor = function ( array, offset ) {
 	this.array = array;
 	this.offset = offset;
 
-}
+};
 
 THREE.ProxyColor.prototype = Object.create( THREE.Color.prototype );
 THREE.ProxyColor.prototype.constructor = THREE.ProxyColor;

+ 1 - 1
examples/js/wip/proxies/ProxyFace3.js

@@ -15,7 +15,7 @@ THREE.ProxyFace3 = function ( array, offset, vertexNormals, vertexColors, vertex
 
 	//THREE.Face3.call( this, array[offset], array[offset+1], array[offset+2] /*, normal, color, materialIndex */);
 
-}
+};
 
 THREE.ProxyFace3.prototype = Object.create( THREE.Face3.prototype );
 THREE.ProxyFace3.prototype.constructor = THREE.ProxyFace3;

+ 1 - 1
examples/misc_animation_keys.html

@@ -82,7 +82,7 @@
 
 				renderer.setSize( window.innerWidth, window.innerHeight );
 
-			}
+			};
 
 			var createScene = function(){
 

+ 1 - 1
examples/misc_controls_deviceorientation.html

@@ -41,7 +41,7 @@
 
 		<script>
 			(function() {
-				  "use strict"
+				  "use strict";
 
 				  window.addEventListener('load', function() {
 

+ 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>

+ 3 - 3
examples/misc_controls_pointerlock.html

@@ -113,13 +113,13 @@
 
 					}
 
-				}
+				};
 
 				var pointerlockerror = function ( event ) {
 
 					instructions.style.display = '';
 
-				}
+				};
 
 				// Hook pointer lock state change events
 				document.addEventListener( 'pointerlockchange', pointerlockchange, false );
@@ -149,7 +149,7 @@
 								element.requestPointerLock();
 							}
 
-						}
+						};
 
 						document.addEventListener( 'fullscreenchange', fullscreenchange, false );
 						document.addEventListener( 'mozfullscreenchange', fullscreenchange, false );

+ 3 - 3
examples/misc_fps.html

@@ -70,7 +70,7 @@
 								keysPressed[watchedKeyCodes[index]] = down; e.preventDefault();
 							}
 						};
-					}
+					};
 					window.addEventListener( "keydown", handler( true ), false );
 					window.addEventListener( "keyup", handler( false ), false );
 				})([
@@ -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/misc_sound.html

@@ -122,7 +122,7 @@
 				var helper = new THREE.GridHelper( 500, 10 );
 				helper.color1.setHex( 0x444444 );
 				helper.color2.setHex( 0x444444 );
-				helper.position.y = 0.1
+				helper.position.y = 0.1;
 				scene.add( helper );
 
 				//

+ 2 - 2
examples/raytracing_sandbox.html

@@ -209,14 +209,14 @@
 
 				plane = new THREE.Mesh( planeGeometry, phongMaterialBoxLeft );
 				plane.rotation.z = 1.57;
-				plane.position.set( -300, 0, -300 )
+				plane.position.set( -300, 0, -300 );
 				scene.add( plane );
 
 				// right
 
 				plane = new THREE.Mesh( planeGeometry, phongMaterialBoxRight );
 				plane.rotation.z = 1.57;
-				plane.position.set( 300, 0, -300 )
+				plane.position.set( 300, 0, -300 );
 				scene.add( plane );
 
 				// light

+ 1 - 1
examples/webgl_buffergeometry_drawcalls.html

@@ -64,7 +64,7 @@
 				limitConnections: false,
 				maxConnections: 20,
 				particleCount: 500
-			}
+			};
 
 			init();
 			animate();

+ 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_effects_parallaxbarrier.html

@@ -277,7 +277,7 @@
 				"Darkgray shiny":	new THREE.MeshPhongMaterial( { color: 0x000000, specular: 0x050505 } ),
 				"Gray shiny":		new THREE.MeshPhongMaterial( { color: 0x050505, shininess: 20 } )
 
-				}
+				};
 
 				// Gallardo materials
 
@@ -303,7 +303,7 @@
 
 					]
 
-				}
+				};
 
 				m = CARS[ "gallardo" ].materials;
 				mi = CARS[ "gallardo" ].init_material;
@@ -318,7 +318,7 @@
 					5: mlib[ "Yellow glass" ],  // front lights
 					6: mlib[ "Dark chrome" ]	// windshield rim
 
-				}
+				};
 
 				// Veyron materials
 
@@ -338,7 +338,7 @@
 
 					],
 
-				}
+				};
 
 				m = CARS[ "veyron" ].materials;
 				mi = CARS[ "veyron" ].init_material;
@@ -354,7 +354,7 @@
 					6: mlib[ "Red glass 50" ],		// backlights
 					7: mlib[ "Orange glass 50" ]	// backsignals
 
-				}
+				};
 
 				// F50 materials
 
@@ -379,7 +379,7 @@
 
 					],
 
-				}
+				};
 
 				m = CARS[ "f50" ].materials;
 				mi = CARS[ "f50" ].init_material;
@@ -412,7 +412,7 @@
 					23: m.body[ mi ][ 1 ], 			// back torso
 					24: m.body[ mi ][ 1 ] 			// back torso center
 
-				}
+				};
 
 
 				// Camero materials
@@ -439,7 +439,7 @@
 
 					],
 
-				}
+				};
 
 				m = CARS[ "camaro" ].materials;
 				mi = CARS[ "camaro" ].init_material;
@@ -456,7 +456,7 @@
 					7: mlib[ "Fullblack rough" ],   // tireling
 					8: mlib[ "Fullblack rough" ]    // behind grille
 
-				}
+				};
 
 				loader.load( CARS[ "veyron" ].url, function( geometry ) { createScene( geometry, "veyron" ) } );
 

+ 1 - 1
examples/webgl_geometry_dynamic.html

@@ -80,7 +80,7 @@
 				controls = new THREE.FirstPersonControls( camera );
 
 				controls.movementSpeed = 500;
-				controls.lookSpeed = 0.1
+				controls.lookSpeed = 0.1;
 
 				scene = new THREE.Scene();
 				scene.fog = new THREE.FogExp2( 0xaaccff, 0.0007 );

+ 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>
 
 

+ 1 - 1
examples/webgl_geometry_normals.html

@@ -36,7 +36,7 @@
 
 				    return klass.apply( this, args );
 
-				}
+				};
 
 				F.prototype = klass.prototype;
 

+ 2 - 2
examples/webgl_gpgpu_birds.html

@@ -453,7 +453,7 @@
 
 				this.applyMatrix( new THREE.Matrix4().makeScale( 0.2, 0.2, 0.2 ) );
 
-			}
+			};
 
 			THREE.BirdGeometry.prototype = Object.create( THREE.BufferGeometry.prototype );
 
@@ -662,7 +662,7 @@
 
 			function render() {
 
-				var now = performance.now()
+				var now = performance.now();
 				var delta = (now - last) / 1000;
 
 				if (delta > 1) delta = 1; // safety cap on large deltas

+ 1 - 1
examples/webgl_interactive_particles.html

@@ -158,7 +158,7 @@
 				//
 
 				raycaster = new THREE.Raycaster();
-				mouse = new THREE.Vector2()
+				mouse = new THREE.Vector2();
 
 				//
 

+ 1 - 1
examples/webgl_lensflares.html

@@ -78,7 +78,7 @@
 				controls.domElement = container;
 				controls.rollSpeed = Math.PI / 6;
 				controls.autoForward = false;
-				controls.dragToLook = false
+				controls.dragToLook = false;
 
 				// scene
 

+ 1 - 1
examples/webgl_lights_hemisphere.html

@@ -184,7 +184,7 @@
 					bottomColor: { type: "c", value: new THREE.Color( 0xffffff ) },
 					offset:		 { type: "f", value: 33 },
 					exponent:	 { type: "f", value: 0.6 }
-				}
+				};
 				uniforms.topColor.value.copy( hemiLight.color );
 
 				scene.fog.color.copy( uniforms.bottomColor.value );

+ 1 - 1
examples/webgl_loader_awd.html

@@ -139,7 +139,7 @@
 				var timer = Date.now() * 0.0005;
 
 				pointLight.position.x = Math.sin( timer * 4 ) * 3000;
-				pointLight.position.y = 600
+				pointLight.position.y = 600;
 				pointLight.position.z = Math.cos( timer * 4 ) * 3000;
 
 				renderer.render( scene, camera );

+ 4 - 4
examples/webgl_loader_collada_kinematics.html

@@ -151,7 +151,7 @@
 
 				var duration = getRandomInt(1000, 5000);
 
-				var target = {}
+				var target = {};
 
 				for ( var i = 0; i < kinematics.joints.length; i++ ) {
 
@@ -159,9 +159,9 @@
 
 						var old = tweenParameters[ i ];
 
-						var position = old ? old : joint.zeroPosition
+						var position = old ? old : joint.zeroPosition;
 
-						tweenParameters[ i ] = position
+						tweenParameters[ i ] = position;
 
 						target[ i ] = getRandomInt(joint.limits.min, joint.limits.max)
 
@@ -177,7 +177,7 @@
 
 					}
 
-				} )
+				} );
 
 				kinematicsTween.start();
 

+ 1 - 1
examples/webgl_loader_ply.html

@@ -146,7 +146,7 @@
 			function addShadowedLight( x, y, z, color, intensity ) {
 
 				var directionalLight = new THREE.DirectionalLight( color, intensity );
-				directionalLight.position.set( x, y, z )
+				directionalLight.position.set( x, y, z );
 				scene.add( directionalLight );
 
 				directionalLight.castShadow = true;

+ 2 - 2
examples/webgl_loader_scene.html

@@ -187,7 +187,7 @@
 
 					$( "bar" ).style.width = bar + "px";
 
-				}
+				};
 
 				var callbackFinished = function ( result ) {
 
@@ -233,7 +233,7 @@
 
 					scene = loaded.scene;
 
-				}
+				};
 
 				$( "progress" ).style.display = "block";
 

+ 1 - 1
examples/webgl_loader_stl.html

@@ -201,7 +201,7 @@
 			function addShadowedLight( x, y, z, color, intensity ) {
 
 				var directionalLight = new THREE.DirectionalLight( color, intensity );
-				directionalLight.position.set( x, y, z )
+				directionalLight.position.set( x, y, z );
 				scene.add( directionalLight );
 
 				directionalLight.castShadow = true;

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio