Procházet zdrojové kódy

Clean: remove logs

Fabrice Ecaille před 12 roky
rodič
revize
6ada3cb4fc
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  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();
 		}
 	}