瀏覽代碼

Clean: remove logs

Fabrice Ecaille 12 年之前
父節點
當前提交
6ada3cb4fc
共有 1 個文件被更改,包括 0 次插入2 次删除
  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();
 		}
 	}