Selaa lähdekoodia

Clean: remove logs

Fabrice Ecaille 12 vuotta sitten
vanhempi
commit
6ada3cb4fc
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      js/spaceinvaders-models.js

+ 0 - 2
js/spaceinvaders-models.js

@@ -102,7 +102,6 @@ function CornWeapon() {
 	this.load = 1;
 	this.max_load = 1;
 	this.callback = function(shot) {
-		console.log( "CornWeapon.callback", this, shot );
 		var higherAlien = Math.max.apply( null, 
 			$(".alien").map(function() {
 				return $(this).y();
@@ -114,7 +113,6 @@ function CornWeapon() {
 			mediumAlien = (higherAlien + lowerAlien) / 2;
 		
 		if( shot.y() < mediumAlien ) {
-			console.log( "KABOUM" );
 			shot.remove();
 		}
 	}