Browse files

unitHeight() must return an int

  • Loading branch information...
1 parent b24d6c8 commit bd050c5bfae149bd7b9502be244ad324aeb862bf @sdabet committed Jan 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 level.js
View
4 level.js
@@ -172,10 +172,10 @@ var Level = function(board) {
boule.draw();
},
- lines: 10,
+ lines: 19,
unitHeight: function() {
- return this.boardHeight() / this.lines;
+ return parseInt(this.boardHeight() / this.lines);
},
boardWidth: function() {

0 comments on commit bd050c5

Please sign in to comment.