Skip to content

Commit

Permalink
removed console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Jan 10, 2015
1 parent 227fcaa commit 7c72680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions www/js/catan/js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
color = "rgb(255, 255, 255)";
break;
default:
console.log("Can't find color for non-coast with this land type", land);
throw "Can't find color for non-coast with this land type: '" + land + "'";
}
return color;
};
Expand All @@ -85,7 +85,7 @@
color = "rgb(255, 255, 255)";
break;
default:
console.log("Can't find color for coast with this land type", land);
throw "Can't find color for coast with this land type: '" + land + "'";
}
return color;
};
Expand Down
2 changes: 0 additions & 2 deletions www/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ angular.module('starter.controllers', [])
$scope.updateTileTrioScoreLimit = function() {
Settings.setTileTrioScoreLimit(this.selectedTileTrioScoreLimit.id);
};
console.log($scope.selectedTileTrioScoreLimit);



Expand All @@ -44,5 +43,4 @@ angular.module('starter.controllers', [])
$scope.updateHarborGenerationStrategy = function() {
Settings.setHarborGenerationStrategy(this.selectedHarborGenerationStrategy.id);
};
console.log($scope.selectedHarborGenerationStrategy);
});

0 comments on commit 7c72680

Please sign in to comment.