فهرست منبع

Remove unecessary semicolon and unused local variable in bones-browser.html

Tristan VALCKE 8 سال پیش
والد
کامیت
a8f9ecd954
1فایلهای تغییر یافته به همراه5 افزوده شده و 8 حذف شده
  1. 5 8
      docs/scenes/bones-browser.html

+ 5 - 8
docs/scenes/bones-browser.html

@@ -118,7 +118,7 @@
 
 				return geometry;
 
-			};
+			}
 
 			function createBones ( sizing ) {
 
@@ -140,7 +140,7 @@
 
 				return bones;
 
-			};
+			}
 
 			function createMesh ( geometry, bones ) {
 
@@ -165,7 +165,7 @@
 
 				return mesh;
 
-			};
+			}
 
 			function setupDatGui () {
 
@@ -234,7 +234,7 @@
 				mesh.scale.multiplyScalar( 1 );
 				scene.add( mesh );
 
-			};
+			}
 
 			function render () {
 
@@ -242,9 +242,6 @@
 
 				var time = Date.now() * 0.001;
 
-				var bone = mesh;
-
-
 				//Wiggle the bones
 				if ( state.animateBones ) {
 
@@ -260,7 +257,7 @@
 
 				renderer.render( scene, camera );
 
-			};
+			}
 
 			initScene();
 			render();