Browse Source

Examples: Clean up.

Mugen87 5 years ago
parent
commit
7d42498dea
1 changed files with 2 additions and 4 deletions
  1. 2 4
      examples/webgl_loader_mmd_audio.html

+ 2 - 4
examples/webgl_loader_mmd_audio.html

@@ -52,11 +52,9 @@
 			var clock = new THREE.Clock();
 
 			var startButton = document.getElementById( 'startButton' );
-			startButton.addEventListener( 'click', function() {
+			startButton.addEventListener( 'click', function () {
 
-				Ammo().then( function ( AmmoLib ) {
-
-					Ammo = AmmoLib;
+				Ammo().then( function () {
 
 					init();
 					animate();